Skip to content

ci: stop cancelling pull request runs while main's CI runs - #800

Merged
M4n0x merged 1 commit into
mainfrom
ci/remove-main-ci-priority
Nov 17, 2026
Merged

M4n0x merged 1 commit into
mainfrom
ci/remove-main-ci-priority

Conversation

@M4n0x

@M4n0x M4n0x commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

Problem

Since #766, Pause pull requests cancels every pull request run when main's CI starts, and Resume pull requests restarts their cancelled jobs once main's macOS jobs are done. It does keep main fast: in the 24 runs on main since, Build release waited at most 1.3 minutes for a Mac. But it costs more than it saves:

  • Over the 26 hours to 2026-11-17 20:00, jobs cut off partway threw away about 1,590 macOS minutes, more than a quarter of all the macOS time CI used. Each restarted job began again from scratch.
  • A paused pull request shows failed (cancelled) checks and a pending Visual review until the restart.
  • The restart reruns the same merge commit, so its results are against the main from 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

  • Removes the Pause pull requests and Resume pull requests jobs. main's runs wait for a free Mac like pull requests' do.
  • CONTRIBUTING drops "main goes first" and the "A run cancelled while main builds" 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.
  • The DECISIONS entry becomes "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 if main waits 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 main waited.

Testing

  • actionlint reports the same 3 warnings as on main (the release app token inputs and one SC1007), none from this change.
  • node --test .github/scripts/*.test.mjs: 226 passed.
  • git grep finds no other mention of the two jobs.
  • After this merges, a push to main shows 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

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.
@M4n0x
M4n0x requested a review from Seb-GRAF as a code owner November 17, 2026 22:33
@github-actions github-actions Bot added the deep-review CodeRabbit reviews this pull request: big or risky changes label Nov 17, 2026
@coderabbitai

coderabbitai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between fd3d382 and 5665f18.

Files selected for processing: 4

  • .github/scripts/screens-bot.mjs
  • .github/workflows/ci.yml
  • CONTRIBUTING.md
  • DECISIONS.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Re-trigger cubic

@M4n0x
M4n0x merged commit 937c40e into main Nov 17, 2026
20 of 30 checks passed
@M4n0x
M4n0x deleted the ci/remove-main-ci-priority branch November 17, 2026 22:53
@stablebar-releases

Copy link
Copy Markdown

🎉 This PR is included in version 0.18.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deep-review CodeRabbit reviews this pull request: big or risky changes released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant