-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix bug: #siphon - should pass the faultPipe #10
base: master
Are you sure you want to change the base?
Conversation
I propose to add
I did not read all the module, but I get a feeling it will be useful in other places... |
let me know how you want to go with it |
follow up ;) |
Hi, @osher! I appreciate your persistence here.
|
Edit: fix some typos, some grammer + beautify This is puzzling. Assuming a pipe:
You mean that if I This feels inconsistent with the idea expressed by the api Now true, In that sense - I would expect the Assume the example from the readme.
Now consider that instead of It could still be my lack of understanding. Here is the concrete case: I was trying to add supporting If we're not on target there, if the tool is misused or abused - I think people need to hear about it so they can do better |
Kevin - hi, here's a follow up - I need your input... |
|
Hi, @osher. Fault Pipes are only used in the context of their pipeline. It sounds like what you're looking for is a layer above a pipeline to manage multiple pipelines. There's nothing that prevents a user from setting |
When an error is thrown in any of the handlers - the flow is broken: I don't get to the last fitting, and I don't get to the fault-pipe handler.
I assumed we need to pass the faultPipe handler.
I created this branch online, then cloned it and went to add tests.
Then I saw there are more internal parts that are ignored...
Is it on purpose that it does not pass
Pipeworks#pre
andPipeworks#post
?What if the user puts his end-handler with
{affinity: sink}
?we'll get broken the same way...
What if the user tries to measure exec-time using
{affinity: hoist}
?Any comment will be appreciated...