-
Notifications
You must be signed in to change notification settings - Fork 189
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 ErrorArtifact
s returned from tasks gracefully in a Pipeline/Workflow
#863
Comments
You should be able to instruct Agent that is using these Tools to run something if Tool returns error. Just write such instruction in Rule, take a look at this example: Agent is using specific method on Tool only if conditions are met. |
for an Agent, this works. however, pipelines and workflows are running |
@vachillo can this issue be closed with the introduction of |
@collindutter i think this is still pending. I was working on a "branch task" to solve this, it never got over the finish line. |
Is your feature request related to a problem? Please describe.
Currently, if a task in the middle of a Pipeline or Workflow returns an
ErrorArtifact
, the entire Structure short-circuits and ends. This can lead to a situation where theoutput_task
output isNone
.Describe the solution you'd like
I would expect more graceful handling of
ErrorArtifacts
returned from tasks.fail_fast = True/False
to control this behavior.ErrorArtifacts
in a Pipeline or Workflow by specifying a Task that will be run only if anErrorArtifact
gets returnedDescribe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Lines in
workflow.py
that cause this behaviorLines in
pipeline.py
that cause this behaviorThe text was updated successfully, but these errors were encountered: