-
Notifications
You must be signed in to change notification settings - Fork 26
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
Handle local pipeline error propagation #775
Comments
Fixes for the 0.9 release: * Revert back retires from embedding text component since some models have their own retry mechanism implemented [example](https://github.com/langchain-ai/langchain/blob/9b3962fc2521ec0d6ef2ea7c0a40b9c32977671a/libs/community/langchain_community/embeddings/openai.py#L216). They can be modified through extra arguments * Reverted back the docker compose error handling since it was blocking some logs for showing up, the issue should be fleshed out more. Created a separate ticket for it #775
I would say this is desirable behavior? |
Not really, if we set
|
But why would we want to execute the rest of the pipeline if a component has failed? Or does it also not execute if the component succeeds? |
It does not execute the next component because I think the |
In order to propagate errors that occur in docker back to python, we need to enable
abort-on-container-exist
flag. However, because we're running containers in sequence, this means that the whole pipeline will abort after the first component has finished executing. One potential solution to resolve this is to run every component individually based on the dependency order as partially implemented here.The text was updated successfully, but these errors were encountered: