Repository navigation
ci: stop cancelling pull request runs while main's CI runs - #800
Merged
Merged
Conversation
Pause pull requests cancelled every pull request run when main's CI started, and Resume pull requests restarted their cancelled jobs once main's macOS jobs were done. main stopped waiting for a Mac, but over the 26 hours to 2026-11-17 20:00 the cut-off jobs threw away about 1,590 macOS minutes. Paused pull requests showed failed checks until the restart, and the restart reran the same merge commit, so its results were against the main from before the merge that paused it. Before #766, only one run on main had waited long for a Mac: 88 minutes on 2026-11-16. Both jobs are gone, and main's runs wait for a free Mac like pull requests' do. CONTRIBUTING, the screens bot's comment and the DECISIONS entry say so, and the entry records why.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 16 minutes. View limit details
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. |
|
🎉 This PR is included in version 0.18.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Problem
Since #766, Pause pull requests cancels every pull request run when
main's CI starts, and Resume pull requests restarts their cancelled jobs oncemain's macOS jobs are done. It does keepmainfast: in the 24 runs onmainsince, Build release waited at most 1.3 minutes for a Mac. But it costs more than it saves:mainfrom before the merge that paused it.Before #766, 5 of 53 runs on
main(11-13 to 11-16) had a job wait over 10 minutes for a Mac, and only one waited long: 88 minutes on 11-16 at 18:30. No issue:ci:needs none.Changes
main's runs wait for a free Mac like pull requests' do.maingoes first" and the "A run cancelled whilemainbuilds" entry from When CI fails. The screens bot's comment and the Visual review table give a newer push as the example of a cancelled run.main's CI doesn't preempt pull requests" and records why: the cost above, and that a merge queue or more runners are the answer ifmainwaits again.This supersedes #791, which only stopped Pause from cutting off running macOS jobs. #792, #793 and #794 cut what a pull request spends on Draw screens, which is what filled the five runners when
mainwaited.Testing
actionlintreports the same 3 warnings as onmain(the release app token inputs and oneSC1007), none from this change.node --test .github/scripts/*.test.mjs: 226 passed.git grepfinds no other mention of the two jobs.mainshows no Pause or Resume jobs, and open pull request runs keep running through it.Merging
Any merge method: one commit.
Claude Opus 5.5 via Claude Code