-
Notifications
You must be signed in to change notification settings - Fork 15
feat: add conditional step execution with skip/fail behavior #573
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
base: 01-05-condition
Are you sure you want to change the base?
feat: add conditional step execution with skip/fail behavior #573
Conversation
|
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
View your CI Pipeline Execution ↗ for commit 7372203
☁️ Nx Cloud last updated this comment at |
7bff913 to
7548924
Compare
7548924 to
e255467
Compare
09b79a1 to
5e8c404
Compare
5e8c404 to
c68bf9c
Compare
2c84deb to
ac6da93
Compare
ac6da93 to
74202cd
Compare
c68bf9c to
7372203
Compare

Conditional Step Execution in PGFlow
This PR adds support for conditional step execution in PGFlow, allowing steps to be conditionally executed based on flow input or dependency outputs.
Key features:
condition_patternandwhen_unmetcolumns to thestepstablestart_ready_stepsfunctionfail: Fails the step and the entire runskip: Skips just the current stepskip-cascade: Skips the step and all its dependentsThe implementation evaluates conditions before starting any steps:
The DSL has been updated to support the new options:
Comprehensive tests have been added to verify all condition evaluation scenarios and handling modes.