Skip to content

ci: Keep cheap jobs off the scarce runner pools - #998

Merged
zackees merged 2 commits into
masterfrom
ci/427-runner-pools
Oct 16, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/427-runner-pools

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

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.04 capacity is small. So:

  • ubuntu-latest for clang-format, gersemi, flatpak-validator, qt-xml-validator (check-format.yaml) and the merge-queue cancel-superseded job (pr-pull.yaml). They use only uvx tools, apt libxml2-utils and repo scripts. That leaves the 26.04 slots to Tier 2 and Rust Tests.
  • swift-format took one of the 5 macOS slots on every PR. A swift-changes job (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 gives true; no base gives true.

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.
@zackees
zackees merged commit 45840e0 into master Oct 16, 2026
21 checks passed
@zackees
zackees deleted the ci/427-runner-pools branch October 26, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant