chore: cancel superseded ci runs on the same branch - #18
Merged
Conversation
Each push to a pull request started another full run alongside the ones already going. Group runs by head ref, as the devcontainer repo's ci does, so a new push cancels the run it supersedes; pushes to main keep their unique group and never cancel each other's feature publishes. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fjd3JvBzVEfk9iiJ2JeoJh
ashwin153
enabled auto-merge (squash)
August 18, 2026 15:28
Two forks with identically named branches would share a cancellation group and cancel each other's runs. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fjd3JvBzVEfk9iiJ2JeoJh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Softlight Overview
UX Score: 5/5
Softlight reviewed this change and found no issues.
To run Softlight again, click here or comment @softlight.
Why
Each push to a pull request starts another full
cirun while the runs for the previous commits keep going — #17 accumulated three parallel runs from three pushes. The workflow has noconcurrencyblock, unlike the devcontainer repo'sci.yaml, which already cancels superseded runs.What
Adds the same concurrency group the devcontainer repo uses: runs group by
github.head_refso a new push to a branch cancels the in-flight run it supersedes. Pushes tomainhave nohead_refand fall back to the uniquerun_id, so feature-publish runs onmainare never cancelled mid-publish.🤖 Generated with Claude Code
https://claude.ai/code/session_01Fjd3JvBzVEfk9iiJ2JeoJh
Generated by Claude Code
Note
Cursor Bugbot is generating a summary for commit 116f86f. Configure here.