Repository navigation
Description
A queue timeout on the macos-latest runner is currently indistinguishable from a failing test, and it cost real time on #374.
What happened
On #374's head 442c987a, Test (macos-latest) reported fail 15m1s twice. It was neither a failure nor flaky:
passing run (59d8cd41) |
both "failures" (442c987a) |
|
|---|---|---|
runner_name |
GitHub Actions 1000000113 |
"" (empty) |
runner_group_name |
GitHub Actions |
"" |
| steps recorded | 9 | 0 |
| duration | 13m36s | 901s — exactly, both times |
No runner was ever assigned. The job sat in the queue for exactly 901 seconds waiting for macOS capacity and was then cancelled. Test (windows-latest) on the same head got a runner and passed.
The API conclusion is cancelled. gh pr checks renders cancelled and failure identically as fail, so from the PR page it looks like the macOS test broke. I read it that way twice and re-ran it once pointlessly — capacity, not code, was the constraint.
Why it is worth fixing
macOS runners are the scarcest pool and this job takes ~13.5 minutes when it does run, so it sits near the limit by design. This will recur.
The cost is not the red check — it is that a red check which means "GitHub had no spare Mac" is reported the same way as one meaning "hashing differs on macOS", which is the actual reason the job exists (per its own comment: "hashing, decoding and the consensus rules must give the same answers on every platform").
Options
timeout-minuteson the job, below the queue limit, so it fails fast and legibly rather than looking like a 15-minute test failure.continue-on-error: truefor the platform matrix, as the Rustfmt job already does, so a capacity miss does not gate a merge while a genuine platform divergence still shows.- Leave it, and check
runner_nameby hand each time — which is what this issue exists to avoid repeating.
(1) and (2) together seem right: fail fast, and do not block on it. A real platform divergence would still be visible, and would still be worth stopping for.
Note
#374 was merged with this check red, on the basis that macOS passed on the PR's own code at 59d8cd41, and the only delta was main's lockfile bump (#375: windows-sys, irrelevant on macOS, and lettre, behind the smtp feature the macOS job does not enable). That is an argument, not a measurement — the macOS suite has still never run against the merge result.
Activity