Repository navigation
Description
Measured (2026-11-08, dependency-aware method)
Method note: for a needs: job, the jobs API created_at equals its dependencies' completion, so started_at - created_at is genuine runner wait — not started_at - run.created_at, which falsely blames the Cache Janitor.
Critical path: ci-mode → rust-linux-tier2-build → rust-linux-tier2 ×2 → ci-gate. The merge fires at CI Gate, not at run end.
| run (total) | runner wait (a) | serial-hop overhead (b) | real work (c) |
|---|---|---|---|
| 42459458728 (19.2) | 5.9 | 3.6 | 9.3 |
| 42457595277 (15.1) | 0.4 | 3.4 | 10.4 |
| 42457007243 (13.5) | 0.2 | 3.1 | 10.1 |
Wider sample, 31 successful merge_group runs: critical-path runner wait median 0.2 min, mean ≈1.6, ≥2.4 min in 7/31 — and every large wait landed on a first-wave job (CI Mode / Event Data), i.e. ordinary runner supply, not the queue.
Fast Gate ends 4–7 min before the shards, so it is never on the critical path.
What this means
- Uncontended, a Tier 2 batch is ≈13–14 min to CI Gate: ≈10 min of real work (build 4–5 + tests 5.1–5.2), ≈3–3.5 min serial setup overhead, ≈0.2 min runner wait.
- No repository change removes ≥2 min. One build already fans out to two shards via artifact; shard overhead is only ≈0.4–0.5 min; more shards are CPU-packed (1131 CPU-s ≈ 283 s of work on 4 cores vs 273 s wall) and were deliberately cut 6→2 in ci: reduce queue runner demand while preserving complete Tier 2 coverage #3917; building inside each shard would add a ≈4–5 min compile to each.
- Tighter concurrency would only cancel PR runs (GitHub-hosted runners have no inter-workflow priority), throwing away PR evidence.
The remaining lever: infrastructure
A larger or dedicated runner group for queue jobs. At 8 cores the test step would be ≈1131/8 ≈ 2.4 min (if linear — unverified), i.e. ≈2.7 min saved per batch; a dedicated group would also remove the mean ≈1.6 min/batch of first-wave contention.
If a group is provisioned, the change is small: point runs-on for ci-mode, check-event, rust-linux-tier2-build, rust-linux-tier2 at it for merge_group only.
Acceptance criteria for that follow-up:
ci.yml/build-project.yamlruns-on:selects the group only formerge_group(PR runs unchanged).- Before/after: median CI-Gate-end time over ≥15 queue runs, quoted with the method above.
- No lane's coverage changes; no proof/attestation behaviour changes.
Also worth fixing separately
rust-testmiss diagnostics reportverdict=unknownwhere the proof is simply absent; that should readno-pr-proof(ci: resolve queue PR branches in lane-proof miss diagnostics #3982 landed the lookup fix; this is a remaining precision gap).- Outlier run 42446988731: Tier 2 build ran 13.5 min with a 0.05 min wait — unverified whether it was the pre-fix(ci): re-probe zccache before disabling recovery caching #3972 zccache path.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsReady
Activity
zackees commentedon Nov 12, 2026
Claiming: maintainer-requested dynamic merge-queue runner fallback only (not the infrastructure provisioning or timing study). 1. Commit failing selector and workflow regression tests. 2. Add a hosted online-runner probe, pass its selection through existing workflows, and document the status-token/PowerEdge setup. 3. Run focused tests and the final lint, push the RED/GREEN pair and arm auto-merge. First PR expected this session; no runner registration or settings changes.
ci: fall back to hosted runners when queue host is offline (obs-rust#…