Repository navigation
ci(gates): cancel superseded floor runs - #628
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: LargeModGames/spotatui/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review. 📝 WalkthroughWalkthroughThe gates-floor workflow now cancels an in-progress run when a newer run starts. A comment explains that the newer push measures the latest ChangesWorkflow concurrency
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to No actionable merge-blocking risk remains: qualifying newer pushes are processed by successor runs, and floor-only updates do not interrupt them. Architecture SummaryArchitecture risk: 🔵 Low · up to The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency. Changed systems: None identified. Architecture concerns Review detailsBefore / after behavior
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary
After a series of quick merges, every older Gates floor run finished its build and then failed at the push with a non-fast-forward rejection, because main had moved on. Only the last run could push. That is one red run and one failure email per merge in the series.
With
cancel-in-progress: true, a newer push cancels the older run instead. The newer run checks out the newest main, so no floor update is lost, and a cancelled run sends no failure email.Testing
fetch first; run 36312224758 pushed 9978842 (2302 to 2309) through the ruleset bypass.Additional notes
A push can still be rejected in the few seconds between a merge and the start of its own run. That is rare, and the newer run then raises the floor.
💬 Questions or want to chat with other contributors? Join the spotatui Discord.
Summary by CodeRabbit