Skip to content

ci(github): run only one macOS job per CI run - #1476

Merged
mprpic merged 1 commit into
python-wheel-build:mainfrom
mprpic:ci/reduce-macos-jobs
Nov 19, 2026
Merged

mprpic merged 1 commit into
python-wheel-build:mainfrom
mprpic:ci/reduce-macos-jobs

Conversation

@mprpic

@mprpic mprpic commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

GitHub cancels macOS jobs that wait too long for a runner (actions/runner#4833). Each CI run queued nine macOS jobs against a limit of five concurrent ones, so on 2026-11-18 runs on three PRs were cancelled repeatedly.

This change brings it down to one macOS job per run:

  • e2e suites run on Ubuntu only (all 18 Linux jobs kept).
  • macOS unit tests run on Python 3.14 only.
  • .mergify.yml and e2e/mergify_lint.py updated to match.
  • The macOS branches in the e2e scripts get a comment noting they only run locally.

Things to know:

  • macOS no longer gets end-to-end coverage in CI, only unit tests.
  • Mergify reads its rules from main, which still requires the removed macOS checks, so this PR has to be merged manually.

🤖 Generated with Claude Code

GitHub cancels macOS jobs that wait too long for a runner, and each run
queued nine of them. Run e2e suites on Ubuntu only and macOS unit tests
on Python 3.14 only, and update the Mergify rules and lint to match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Martin Prpič <mprpic@redhat.com>
@mprpic
mprpic requested a review from a team as a code owner November 19, 2026 14:40
@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The unit-test matrix excludes macOS for Python 3.12 and 3.13. The end-to-end matrix runs on Ubuntu only. Merge requirements switch the specified checks to Ubuntu. Expected-job generation retains macOS and applies the general version-combination rule. Comments in two shell scripts describe Linux CI execution and local macOS runs.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: Minimal · up to fecd8

This change cuts macOS CI jobs from nine to one per run and keeps all Linux coverage. macOS keeps only Python 3.14 unit tests and loses end-to-end coverage in CI by design. No code defects were identified. The PR must be merged manually because Mergify still requires the removed macOS checks on main.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: reducing CI to one macOS job per run. The ci(github) prefix and the wording match the workflow, Mergify, and mergify_lint.py changes. It is specific enough for a teamm…
Description check Passed The description explains the reason (GitHub cancels macOS jobs waiting for runners, with nine macOS jobs against a five-job limit) and the change (e2e on Ubuntu only, macOS unit tests on Python 3.14 o…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: reducing CI to one macOS job per run. The ci(github) prefix and the wording match the workflow, Mergify, and mergify_lint.py changes. It is specific enough for a teammate scanning history.

Full details: Description check

Explanation

The description explains the reason (GitHub cancels macOS jobs waiting for runners, with nine macOS jobs against a five-job limit) and the change (e2e on Ubuntu only, macOS unit tests on Python 3.14 only, Mergify and lint script updates). It also notes the trade-off and the manual merge requirement. It is clearly related to the changeset.

  • 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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 77267d6 and fecd8cc.

Files selected for processing: 5

  • .github/workflows/test.yaml
  • .mergify.yml
  • e2e/common.sh
  • e2e/mergify_lint.py
  • e2e/test_build.sh
Files with no reviewable changes: 1

  • e2e/mergify_lint.py

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@mergify

mergify Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

@rd4398 rd4398 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@mprpic
mprpic merged commit 00b8c7f into python-wheel-build:main Nov 19, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants