-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Feat/task allow failure #2557
Feat/task allow failure #2557
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that was fast!
Can we add a description for the docs: "Whether the task is allowed to fail."?
Unfortunately not directly in the code. |
98dc114
to
ed1162a
Compare
ed1162a
to
e65a53e
Compare
LGTM - let's assign someone for tech review and merge 👍 |
core/src/main/java/io/kestra/core/tasks/flows/AllowFailure.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
e65a53e
to
9105d3e
Compare
9105d3e
to
ce3e071
Compare
SonarCloud Quality Gate failed. 0 Bugs 78.1% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Fixes #2248
To QA, you can use as example the test YAML that has been added.
For runnable tasks, the attempts will be in FAILED state as we cannot know that we need to restart an attempt if it is in WARNING as WARNING can come from the task execution itself and not the allowFailure handling code.