Skip to content

ci(swift): stop cancelling Swift (macOS) runs on main - #148

Merged
tmm merged 1 commit into
mainfrom
swift-ci-main-no-cancel
Nov 14, 2026
Merged

tmm merged 1 commit into
mainfrom
swift-ci-main-no-cancel

Conversation

@tmm

@tmm tmm commented Nov 14, 2026

Copy link
Copy Markdown
Member

Follow-up to #130, which made a newer push to main cancel the Swift (macOS) run of an older one.

What changes

Main merges land faster than macOS runners free up: the runs on e847b6d (#130), db0b1d2 (#133), e775fd7 (#127), 77b35a8 (#136) and 59c4205 (#138) were all cancelled while still queued, so main has had no finished Swift (macOS) run, and the version pull request, which now gates on main's run at its base commit, had nothing to check.

cancel-in-progress goes back to pull requests only (as before #130). On main a started run finishes, and GitHub's concurrency group keeps only the newest waiting run, so at most two runs per burst of merges. Pull requests still cancel superseded runs.

How it was checked

Five main runs in a row (e847b6d to 59c4205) were cancelled while still
waiting for a runner, because each merge cancelled the run before it, so
main had no finished Swift (macOS) run and the version pull request had
nothing to gate on. Pull requests still cancel superseded runs; on main a
started run finishes and GitHub keeps only the newest waiting one.

Amp-Thread-ID: https://ampcode.com/threads/T-676d84e9-fb85-4087-aa34-c1b89aa8ad87
@tmm
tmm merged commit e0e5882 into main Nov 14, 2026
18 checks passed
@tmm
tmm deleted the swift-ci-main-no-cancel branch November 14, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants