-
Notifications
You must be signed in to change notification settings - Fork 15
feat: add whenFailed option for error handling after retries exhausted #575
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
Closed
jumski
wants to merge
1
commit into
01-05-add_condition_evaluation_in_start_ready_steps_and_dsl_support
from
01-05-add_whenfailed_option_for_error_handling_after_retries_exhausted
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🦋 Changeset detectedLatest commit: 5869a37 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This was referenced Jan 6, 2026
Contributor
Author
|
View your CI Pipeline Execution ↗ for commit 5869a37
☁️ Nx Cloud last updated this comment at |
5e8c404 to
c68bf9c
Compare
ccaa5de to
46b2302
Compare
46b2302 to
c25ab9f
Compare
c68bf9c to
7372203
Compare
This was referenced Jan 8, 2026
This was referenced Jan 9, 2026
7372203 to
ee6ad19
Compare
c25ab9f to
8863a35
Compare
ee6ad19 to
0735264
Compare
8863a35 to
2fd7a67
Compare
0735264 to
f26034a
Compare
2fd7a67 to
5869a37
Compare
Contributor
Author
|
Folded into #572 (squashed conditional steps PR) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Add whenFailed option for error handling after retries are exhausted
This PR adds a new
whenFailedoption to control what happens when a task fails after all retry attempts are exhausted. The option supports three modes:fail(default): Marks the step and run as failed, stopping executionskip: Marks the step as skipped and continues the runskip-cascade: Marks the step as skipped and also skips all downstream dependent stepsImplementation details:
when_failedcolumn to thestepstable with appropriate constraintsfail_taskfunction to handle the different failure modeswhenFailedoption in the TypeScript DSLwhenFailedsettingThis feature provides more flexibility in error handling, allowing workflows to continue execution even when non-critical steps fail.