Skip to content

perf(ci): reduce macOS runner waits - #1497

Merged
Chemaclass merged 1 commit into
mainfrom
perf/ci-reduce-macos-runner-waits
Dec 1, 2026
Merged

Chemaclass merged 1 commit into
mainfrom
perf/ci-reduce-macos-runner-waits

Conversation

@Chemaclass

Copy link
Copy Markdown
Member

Background

A push to main requests eleven macOS runners. One unit shard waited 11m 34s for a machine and ran its tests in 18s. A newer main commit can also wait behind the previous commit's macOS queue before any of its tests start. Shard timing

Changes

  • Run the existing macOS functional tests and five unit shards on one runner. Main pushes also run the three acceptance shards. Each invocation still uses four workers, and a failed shard leaves a failing job after the remaining shards finish.
  • Keep a separate macOS standalone build. Run the pinned ShellCheck once on Ubuntu. A main push now requests two macOS runners.
  • Let a new push supersede older test and build runs on the same ref. Give manual retries their own group so they can be run independently.

Checklist

  • Ran all nine macOS invocations locally. The 3,007 tests finished in 94 seconds with zero failures.
  • Compared the pull request and push command lists with the previous matrix and verified that an early failure reaches the final exit code.
  • Checked the workflow files with actionlint, the CI path tests and the repository linter.

Changelog and user documentation are N/A for this CI configuration change.

@Chemaclass Chemaclass added the enhancement New feature or request label Dec 1, 2026
@Chemaclass Chemaclass self-assigned this Dec 1, 2026
@Chemaclass
Chemaclass merged commit 14e902b into main Dec 1, 2026
31 checks passed
@Chemaclass
Chemaclass deleted the perf/ci-reduce-macos-runner-waits branch December 1, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant