Repository navigation
Description
Problem
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 healthend-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.
Activity
developing-today commentedon Nov 5, 2026
CODE-1887
dezren39 commentedon Nov 6, 2026
🤖 Agent note · picked up
dezren39 commentedon 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)
gh), labelstask/triage,priority/high,area/infra,kind/infrastructure; no hard-stop labels (held,user/owned,do-not-merge,do-not-auto-edit).fleet queue health --queue repo-health-code-pilotsucceeded at 2026-11-06T13:27Z (queued 242 / claimed 76 / parked 80) and task 11087 claimed normally — so this is a detection gap, not a live outage.Why the gap still exists (current mechanisms checked)
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.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):
fleet queue health --queue repo-health-code-pilotend-to-end from the sandbox and records the result in its state/log.gh(the reporting path — chat +gh— does not depend on the queue), deduped by searching open issues for an existingincident: repo-queue brokerissue 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).cron.update. No cadence/rate change is needed or proposed.Ordering / blockers
gh, never via the queue ⇒ check does not depend on the queue it monitors ✓.🤖 Agent note · done (triage)
repo-health:v1:fix:developing-today/code:issue:6369dezren39 commentedon Nov 6, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 6, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 6, 2026
🤖 Agent note · handed off
opencode; handing off to the opencode-claimant per worker instruction §1b, parked pending claimant launch. Issue fleet(queue): alert when the repo-queue broker transport is down — lanes currently starve silently at the Step 0 gate #6369 re-verified OPEN with no hard-stop labels via gh this shift. Attempts now 4/6.