Repository navigation
fix(ci): reduce macOS runner queue pressure from CodeQL and test-macos - #5197
Open
tyler-dane wants to merge 2 commits into
Open
tyler-dane wants to merge 2 commits into
tyler-dane wants to merge 2 commits into
Conversation
Replace default CodeQL with path-gated advanced setup, sequence swift-packages after macos-build, and skip duplicate CompassKit SPM tests in CI. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 9, 2026
This branch has not been deployed
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.
What and why
GitHub Free allows five concurrent macOS jobs; recent accounting showed CodeQL Swift (~20 min, rarely cancelled) and parallel
swift-packagesduring failedmacos-buildruns burning slots. This PR replaces default CodeQL with advanced setup, sequences native package tests after the Xcode build, and documents agent constraints so automation does not spam strict Mac runs.After merge (required): disable repository default CodeQL setup in GitHub → Security → Code scanning. Advanced
codeql.ymluploads conflict until default setup is off (Code Scanning could not process the submitted SARIF fileon this PR). CodeQL is not a required check.CI evidence
Final head:
c3f571b594161cb9e0f48f055e6e17a4e40f9a90static/unite2emacosMac-touching PR (this branch):
macos-buildthen parallel UI shards +swift-packages(job log:Skip CompassKit SPM tests (duplicate of macos-build CompassKitTests)).Web-only reference (#5196,
74cf6e0f): macOS run 42655400799: onlychanges+ rollupmacos; build /swift-packages/ shards skipped.CodeQL advanced 42701523113: upload fails until default setup is disabled (expected).
Verify
VERDICT: PASS—bun run verify scripts; actionlint on changed workflows.Estimated Mac-minute savings (~3 days)
mainpushesswift-packagesslot when build failsswift-packages