fix: archive task messages for skipped steps and handle late callbacks#609
fix: archive task messages for skipped steps and handle late callbacks#609
Conversation
|
|
View your CI Pipeline Execution ↗ for commit 785877d
☁️ Nx Cloud last updated this comment at |
c137f91 to
3142409
Compare
3142409 to
714b3b6
Compare
🔍 Preview Deployment: Website✅ Deployment successful! 🔗 Preview URL: https://pr-609.pgflow.pages.dev 📝 Details:
_Last updated: _ |
714b3b6 to
785877d
Compare
🚀 Production Deployment: Website✅ Successfully deployed to production! 🔗 Production URL: https://pgflow.dev 📝 Details:
Deployed at: 2026-03-17T20:36:29+01:00 |

Archive Task Messages for Skipped Steps
This PR adds message archiving functionality to prevent "zombie" tasks from being processed after a step has been skipped or completed. Key improvements:
Added guards in
complete_taskandfail_taskto handle late callbacks:Enhanced
_cascade_force_skip_stepsto archive queued/started task messages for skipped steps:Modified
fail_taskto archive sibling task messages when a step is skipped:Improved
start_tasksto reject tasks for skipped steps:Added comprehensive tests to verify all these behaviors work correctly.