haystack
haystack copied to clipboard
Pipeline run logic not robust with cyclic graphs
Follow-up to https://github.com/deepset-ai/haystack/issues/7985, related to https://github.com/deepset-ai/haystack/issues/7960
The workaround that was added to "fix" the above issue only applies to pipeline graphs that are DAGs. As it currently stands, pipelines containing loops/cycles can cause components to misfire/fire more than once and/or launch in an indeterminate order.
Possible contributing factors
- Support for default inputs.
- Variadic (greedy) components.
Experimental fix in https://github.com/deepset-ai/haystack/tree/subgraphs
https://github.com/deepset-ai/haystack/pull/8431
Solved by #8431.