-
Notifications
You must be signed in to change notification settings - Fork 15
feat: add conditional flow execution and retry handling #600
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-14-add_docs_for_conditional_steps
Are you sure you want to change the base?
feat: add conditional flow execution and retry handling #600
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 2e12137
☁️ Nx Cloud last updated this comment at |
d62437b to
c495ffd
Compare
pkgs/edge-worker/tests/integration/flow/retriesExhausted.test.ts
Outdated
Show resolved
Hide resolved
pkgs/edge-worker/tests/integration/flow/conditionalFlow.test.ts
Outdated
Show resolved
Hide resolved
pkgs/edge-worker/tests/integration/flow/retriesExhausted.test.ts
Outdated
Show resolved
Hide resolved
c495ffd to
42f0b9f
Compare
42f0b9f to
9277953
Compare
208f76f to
b7b1a8c
Compare
9277953 to
e2ec2de
Compare
… flow logic - Introduced new helper functions for creating flows and retrieving step states with skip and error info - Added detailed integration tests covering conditional step execution, skipping, cascade behavior, and optional dependencies - Included tests for 'if', 'ifNot', 'whenUnmet', 'whenFailed' conditions, and cascade vs non-cascade skips - Created a new test file for retries exhausted scenarios (placeholder for future tests)
b7b1a8c to
096d008
Compare
e2ec2de to
2e12137
Compare
🔍 Preview Deployment: Website✅ Deployment successful! 🔗 Preview URL: https://pr-600.pgflow.pages.dev 📝 Details:
_Last updated: _ |

Add conditional flow execution and retry handling
This PR introduces conditional flow execution and retry handling capabilities to the PGFlow system. It adds:
Conditional step execution with
ifandifNotpatterns that can:Retry exhaustion handling that can:
The implementation includes comprehensive test coverage for:
These features enable more robust workflow definitions with better handling of optional steps, error conditions, and dependencies between steps.