-
Notifications
You must be signed in to change notification settings - Fork 15
feat: add support for skipped steps in client #601
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-22-add_edge_worker_conditional_steps_tests
Are you sure you want to change the base?
feat: add support for skipped steps in client #601
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 c86955f
☁️ Nx Cloud last updated this comment at |
517b658 to
f3531d7
Compare
d62437b to
c495ffd
Compare
c495ffd to
42f0b9f
Compare
f3531d7 to
3858291
Compare
42f0b9f to
9277953
Compare
3858291 to
192d2c0
Compare
9277953 to
e2ec2de
Compare
192d2c0 to
6bad9b5
Compare
- Add FlowStepStatus.Skipped to enum - Add SkipReason type (condition_unmet|handler_failed|dependency_skipped) - Add BroadcastStepSkippedEvent type - Add skipped event handling to FlowStep class - Add skipped_at and skip_reason getters - Update waitForStatus to accept Skipped - Treat Skipped as terminal state - Update eventAdapters for skipped events - Add unit tests, type tests, and E2E tests - All 206 client tests pass
6bad9b5 to
c86955f
Compare
e2ec2de to
2e12137
Compare
🔍 Preview Deployment: Website✅ Deployment successful! 🔗 Preview URL: https://pr-601.pgflow.pages.dev 📝 Details:
_Last updated: _ |

Add support for skipped steps in the client
This PR adds support for handling skipped steps in the PgFlow client. Skipped steps can occur in three scenarios:
condition_unmet)dependency_skipped)handler_failed)The implementation:
Skippedstatus to theFlowStepStatusenumSkipReasontype to track why a step was skippedFlowStepwithskipped_atandskip_reasonpropertieswaitForStatus(FlowStepStatus.Skipped)Comprehensive tests verify the client correctly:
waitForStatus(Skipped)correctly