Repository navigation
Description
What
When select-runner succeeds but no online runner carries the resolved
review-tier label, the review / review job sits in pending indefinitely with
no signal anywhere: no marker comment, no check failure, no annotation. The PR
shows mergeStateStatus: UNSTABLE — a state that reads identically to "an
optional check is still running" — and the operator has no way to distinguish
"the review is coming" from "the review will never run".
Evidence
melodic-software/dotfiles on 2026-08-08 had eight claude-review runs
stuck in pending, every one of them on a branch whose PR had already merged:
| run | branch | PR |
|---|---|---|
| 31248722544 | fix/curl-compressed |
#422 MERGED |
| 31248487628 | chore/fleet-ruff-0-16-2 |
#420 MERGED |
| 31247102863 | chore/standards-sync |
#417 MERGED |
| 31246925698 | feat/415-fleet-consumer-parity |
#416 MERGED |
| 31244719700 | chore/retire-find-skill-candidates-automation |
#414 MERGED |
| 31244707161 | docs/codex-work-coordination |
#413 MERGED |
| 31244706779 | chore/raise-subagent-session-cap |
#412 MERGED |
| 31214666751 | fix/worktree-convention-deltas |
#410 MERGED |
Eight PRs merged with no AI review, and nothing said so.
Mechanism
melodic-software/dotfiles runs CI_RUNNER_POLICY=self-hosted-only, and the
two tiers resolve to different labels:
CI_SELF_HOSTED_LABEL=melodic-ubuntu-24.04-x64(CI tier)CI_REVIEW_SELF_HOSTED_LABEL=melodic-review-ubuntu-24.04-x64(review tier)
At the time above, the org's online runners were ci-runner-melo-lap-001-*
carrying the CI label; every ci-runner-melo-desk-001-* runner was offline.
So the CI tier ran to completion in minutes while the review tier never
acquired a runner.
The selector is not at fault and its own documented skip path did not fire:
Select runner / Select runner concluded success and resolved the review
label correctly. The gap is entirely downstream — between a valid label and a
runner that can serve it.
Why this is not already covered
- claude-review: a workflow-validation skip is an undetectable silent no-review, plus a false review count and false marker copy #363 — a workflow-validation skip inside the reusable yields a silent
no-review. Different stage: that run reaches a runner and skips; this one
never reaches a runner. - claude-security-review: action-side workflow-validation skip yields a green required check with no review performed #345 — the action-side validation skip on the security lane. Same shape as
claude-review: a workflow-validation skip is an undetectable silent no-review, plus a false review count and false marker copy #363, same distinction. - select-runner: zero self-hosted capacity surfaces as a GitHub billing failure, sending the operator to the wrong place #246 — zero self-hosted capacity surfacing as a GitHub billing failure.
Adjacent and the closest match, but that is capacity resolving to a wrong-and-
visible error; here capacity resolves to no error at all. - select-runner: outputs.runner arrives empty despite selector success (billing-leak mechanism B forensics) #278 —
outputs.runnerarrives empty despite selector success. Also
selector-adjacent, but that is a missing output, not a satisfiable label with
no live runner behind it.
Shape
Two candidate mechanisms, not mutually exclusive:
- Detect at dispatch. The selector already authenticates as the runner
observer App to read org runner state. Having resolved a label, it can also
assert at least one online runner carries it, and surface a
class=runnercaller-side failure when none does — the surfacing path
Incident aggregator: dead-credential detection from consumer review-run annotations (scheduled, zero new secrets) #238's acceptance test already exercises. - Bound the wait. A
timeout-minuteson the review job converts an
indefinitependinginto a visible failure. Cheap, and independent of any
selector change. GitHub cancels a self-hosted-queued job only after 24h,
which is far past the point an operator has merged.
Mechanism 1 is the real fix; mechanism 2 is worth having regardless, because it
also catches a runner that goes offline mid-queue.
Related
- Incident aggregator: dead-credential detection from consumer review-run annotations (scheduled, zero new secrets) #238 — the caller-side
class=runnerfailure surfacing this would reuse. - select-runner: zero self-hosted capacity surfaces as a GitHub billing failure, sending the operator to the wrong place #246 — zero self-hosted capacity, surfaced through the wrong channel.
- select-runner: outputs.runner arrives empty despite selector success (billing-leak mechanism B forensics) #278 — selector success with an empty runner output.
- claude-review: a workflow-validation skip is an undetectable silent no-review, plus a false review count and false marker copy #363, claude-security-review: action-side workflow-validation skip yields a green required check with no review performed #345 — the two silent-no-review variants at a later stage.
Activity
kyle-sexton commentedon Aug 11, 2026
Implementation decision (drain session): for
self-hosted-only+ review-tier label, do not queue blind withonlineRunnerCount: 0. Probe inventory when observer credentials exist; if no online runner matches, fail closed withStrictRoutingError('no-online-runner')/ci-runner-selection-failedso the check surfaces instead of pending forever. CI-tier blind-queue behavior unchanged.fix(select-runner): reject empty runner outputs and offline review tier
fix(select-runner): reject empty runner outputs and offline review tier