Repository navigation
ci: Keep cheap jobs off the scarce runner pools - #998
Merged
Merged
Conversation
Fails: the format checks and the queue-run canceller use ubuntu-26.04, and swift-format takes a macOS slot on every PR.
Only 3 jobs ran repo-wide while 12 runs queued on 2026-10-16: the ubuntu-26.04 pool was the bottleneck. The format checks and the queue-run canceller need nothing from 26.04 and now run on ubuntu-latest, leaving 26.04 to Tier 2 and Rust Tests. swift-format took one of the 5 macOS slots on every PR; a swift-changes job (ubuntu-latest) now gates it on a Swift file changing against the PR or merge-group base.
11 of 15 tasks
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.
Refs #427 (item 6). Part of #930.
The bottleneck today was runner pools, not job length: only 3 jobs ran repo-wide while 12 runs queued, because
ubuntu-26.04capacity is small. So:ubuntu-latestfor clang-format, gersemi, flatpak-validator, qt-xml-validator (check-format.yaml) and the merge-queuecancel-supersededjob (pr-pull.yaml). They use only uvx tools, aptlibxml2-utilsand repo scripts. That leaves the 26.04 slots to Tier 2 and Rust Tests.swift-changesjob (ubuntu-latest) diffs'*.swift'against the PR or merge-group base, and swift-format runs only if a Swift file changed. With no base (push or dispatch) it runs, the safe default.RED 30bcdad:
ci/test_runner_pools.py, 3 failures.GREEN 86c0da2: 3/3;
ci/suite green (376).Local check of the gate's shell: no Swift change vs master gives
false; a diff spanning the last Swift commit givestrue; no base givestrue.