Discussion on Pipeline breakpoints feature #281
Replies: 4 comments 1 reply
-
Great feature! As a developer working with haystack, I would like to know if this feature will be expanded to async pipelines as well? |
Beta Was this translation helpful? Give feedback.
-
@davidsbatista this would be an interesting feature |
Beta Was this translation helpful? Give feedback.
-
Hi @sky-2002! That's an interesting use case. Currently, you always need to set up breakpoints and associate them with a component. The pipeline will then interrupt its execution before a component associated with a breakpoint is executed. What you suggest is something else, an interesting approach to allow for debugging/resuming a Pipeline when it breaks/crashes. The use case you describe would need some changes in the pipeline code, but one could reuse the structure of the Breakpoint. We need to move this discussion to haystack main, since the breakpoints were already merged into main. In any case, I encourage you to open an issue with a more details about the suggestion you did, we can then pick it up and refine it. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is the discussion board for the experimental feature of adding breakpoints to a Pipeline
This experiment allows set breakpoints at any component in any pipeline, forcing the pipeline run to stop before that component runs.
Usage Examples
This will generate a JSON with the complete pipeline state before the next component is run, i.e.: the one receiving the output of the component set in the breakpoint
🧑🍳 See an example notebook here
💻 See the PR that adds the experiment here
Beta Was this translation helpful? Give feedback.
All reactions