GeezerVison is showing github.com — fleet(queue): alert when the repo-queue broker transport is down — lanes currently starve silently at the Step 0 gate · Issue #6369 · developing-today/code
fleet(queue): alert when the repo-queue broker transport is down — lanes currently starve silently at the Step 0 gate #6369DescriptionProblem
When the repo-queue broker transport fails, every worker lane exits silently at its Step 0 gate — by design — so a total queue outage produces no alert and no visible signal; the fleet just starves until someone notices.
Evidence: incident #5708 (2026-11-04). Root cause recorded on #5708: the broker host (laptop amd-6) was down 16:58–18:17 CST (orderly shutdown per wtmp, 1h19m), spanning the whole 17:11–17:20 CST failure window Lane G observed (proxy closed during CONNECT to 100.99.113.103:4801). The only reason the outage is tracked at all is that Lane G manually filed #5708. No automated check surfaced it.
Ask
Add earlier detection for repo-queue transport outages:
- A check that runs on a cadence independent of lane shifts (e.g. the hourly repo-fleet-monitor, or a small standalone probe) that exercises
fleet queue health end-to-end from the sandbox.
- On repeated failure (e.g. 2 consecutive probes, or ~10 minutes), it surfaces an alert in the main chat and/or files ONE deduped incident issue (search open issues for an existing transport-incident issue first, like incident: repo-queue broker tunnel down 2026-11-04 23:11 UTC — worker lanes cannot claim (session proxy CONNECT closed) #5708 was filed by hand).
- Recovery is also surfaced once (transport back up), so a silent gap in lane reports is distinguishable from a healthy idle queue.
Acceptance criteria
- Simulated/observed broker-transport failure produces a visible alert within ~15 minutes, without any lane needing to file by hand.
- No duplicate incident issues for the same outage window (dedupe against open transport-incident issues).
- The check itself does not depend on the queue it monitors (it must be able to report the queue being down).
Secondary observation (no separate ask)
At the 2026-11-04 18:17 CST boot, queue-broker.service failed twice with cannot bind 100.99.113.103:4801: AddrNotAvailable (Tailscale address not yet assigned) and was listening by the 3rd systemd restart at 18:18:11 CST — self-healing in ~16s, recorded here for context only. Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 6, 2026 dezren39 commented on Nov 6, 2026 Triage — task 11087 (lane code-n, 2026-11-06)
Verdict: CONFIRMED — real, not already handled, not superseded. Fix path scoped below; follow-up fix task enqueued from this triage.
Evidence (fresh, this run)
Why the gap still exists (current mechanisms checked)
- fleet-watchdog (every 15m, built for issue Babysitter coverage gap: the cron fleet's own agent sessions have no real-time watcher #1358) watches cron job runs via live scheduler state and alerts on stuck/failing/silent jobs. It never exercises
fleet queue health, so a transport outage whose symptom is lanes exiting silently at the Step 0 gate is not directly probed, no deduped transport-incident issue is filed, and there is no transport-specific recovery signal.
- repo-fleet-monitor (every 2h) does call
fleet queue health, but only inside duties that themselves depend on the queue — if the transport is down the monitor cannot do that work — and a 2h cadence cannot meet the ~15-minute alert acceptance criterion anyway.
Scoped fix (recommended path)
Add a transport probe duty to the existing fleet-watchdog (no new job — fewer jobs that do more):
- Each watchdog run executes
fleet queue health --queue repo-health-code-pilot end-to-end from the sandbox and records the result in its state/log.
- On failure, re-probe once after ~90 seconds within the same run. Two consecutive in-run failures = outage (this filters the ~16s self-healing restart window noted in the secondary observation on issue fleet(queue): alert when the repo-queue broker transport is down — lanes currently starve silently at the Step 0 gate #6369, while still alerting inside one 15m watchdog cycle).
- On outage: alert in the main chat AND file ONE incident issue via
gh (the reporting path — chat + gh — does not depend on the queue), deduped by searching open issues for an existing incident: repo-queue broker issue for the same outage window first (the incident: repo-queue broker tunnel down 2026-11-04 23:11 UTC — worker lanes cannot claim (session proxy CONNECT closed) #5708 pattern).
- On the first healthy probe after an alerted outage: post ONE recovery line, so a silent gap is distinguishable from a healthy idle queue.
- Mechanics: watchdog body changes follow the house rule — edit the repo copy first, commit, then apply the identical text via
cron.update. No cadence/rate change is needed or proposed.
Ordering / blockers
🤖 Agent note · done (triage)
dezren39 commented on Nov 19, 2026 Fresh transport evidence — 2026-11-18 21:04 CST
The broker outage is still present in the 21:02–21:06 CST scheduled wave. Independent checks:
ses_e5e0e3efc39ffez2tL8ajwlhBv (OpenChamber oc-code-01, 21:02): repo-queue health first timed out; retry returned cannot connect to queue-broker at 100.99.113.103:4801: Connection timed out (os error 110), exit 6, and the lane stopped before claiming.
ses_e5e0e3b54abffePxuy7phLtoWX (oc-code-02, 21:06) started but has not yet produced a health result at review time; no claim or task work is evidenced.
- Advocate-side
repo-queue health at 21:04 CST reproduced the same broker timeout and GitHub-fallback response (exit 6).
- The opencode claimant fire at 21:02 ran supervision, then candidate discovery timed out; it recorded
gate_unknown and exited with zero launches/binds.
No queue mutation was made, and no session making task progress was stopped or restarted. This is recurrence evidence for the existing outage detection/recovery gap; no duplicate incident issue filed. Queue priority, claim, expedite, and next-up state remain unknown until the broker is reachable. dezren39 commented on Nov 22, 2026 Merged work, still open. Every pull request that references this issue has merged (#12006, #12009, #12010, #12012, #12013, #12016) and none is open, but the issue kept status:in-review. Tasks that name it as a blocker have been waiting on it.
status:in-review is removed. Whoever takes this next: run the issue's done check against main. Close the issue if it passes; if not, list what is left here and carry on with it (AGENTS.md, "Finishing work").
By: Claude, 2026-11-22 flow review.
Generated by Claude Code dezren39 commented on Nov 24, 2026
🤖 Agent note · second-pass done check (pass 2, task 21882) — all three acceptance criteria PASS on origin/main with production live-fire evidence
- Agent: queue worker (repo-worker-code), lane code-f
- Task: coverage-reconciliation second pass — run the issue's done check against main; close if it passes (per 2026-11-22 flow-review instruction on this issue)
Done check vs acceptance criteria (verified fresh 2026-11-24, this run)
Implementation record
PRs #12006, #12009, #12010, #12012, #12013, #12016 — all MERGED 2026-11-19, all ancestors of origin/main (verified this run). Prior parked implementation task 14522 is already terminal (done). The status/parked + queue/parked labels are stale residue of that pre-implementation park.
Verdict
Resolved in substance. Closing with evidence. No follow-on packet: there is no remaining work to route. dezren39 commented on Nov 24, 2026
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|