GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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 #6369

New issue
Copy link
New issue
Copy link
Done
Done
fleet(queue): alert when the repo-queue broker transport is down — lanes currently starve silently at the Step 0 gate#6369
Copy link
Labels
area/infraInfrastructure, deployment, and operationsdesign/fleet-brokersDesign: fleet-brokers - all issues of this effort carry itepic/fleet-orchestrationReprioritization program epic (2026-11-12)kind/infrastructureInfrastructure / host-portability workpriority/highImportant and time-sensitivestatus:donetask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state
Milestone
Fleet tool - one door, one binary

Description

@dezren39
dezren39
opened on Nov 5, 2026
Issue body actions

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 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.

Activity

Next
  1. dezren39
    added
    priority/highImportant and time-sensitive
    area/infraInfrastructure, deployment, and operations
    kind/infrastructureInfrastructure / host-portability work
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    CODE-1887

  3. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 6, 2026
  4. dezren39 commented on Nov 6, 2026

    @dezren39
    dezren39
    on Nov 6, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-n
    • Session / ID: task 11087
    • Found via: queue claim
    • Task: Triaging issue fleet(queue): alert when the repo-queue broker transport is down — lanes currently starve silently at the Step 0 gate #6369 — verify at current main whether broker-transport outage alerting already exists, scope the fix path, and record blockers/ordering.
    • Expectation: s — triage done when findings are posted with evidence and a routed follow-up (or closure evidence if already handled).
    • Links: task 11087 (queue repo-health-code-pilot)
  5. dezren39 commented on Nov 6, 2026

    @dezren39
    dezren39
    on Nov 6, 2026
    MemberAuthor
    More actions

    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)

    • Issue fleet(queue): alert when the repo-queue broker transport is down — lanes currently starve silently at the Step 0 gate #6369 is OPEN (verified 2026-11-06T13:28Z via gh), labels task/triage, priority/high, area/infra, kind/infrastructure; no hard-stop labels (held, user/owned, do-not-merge, do-not-auto-edit).
    • Transport is healthy right now: this shift's Step 0 fleet queue health --queue repo-health-code-pilot succeeded 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.
    • Origin incident issue incident: repo-queue broker tunnel down 2026-11-04 23:11 UTC — worker lanes cannot claim (session proxy CONNECT closed) #5708 is CLOSED — it was the hand-filed incident itself; nothing in it implements automated detection.
    • Search of open issues for broker-transport alerting finds only issue fleet(queue): alert when the repo-queue broker transport is down — lanes currently starve silently at the Step 0 gate #6369 itself (plus unrelated broker hardening issue fleet brokers: review-finding hardening for dual-bind transports (from PR #6514) #6515 and the broker design issue design: repo-queue + secrets brokers on the laptop behind the session proxy #5362) — no duplicate and no in-flight implementation.

    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):

    1. 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.
    2. 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).
    3. 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).
    4. On the first healthy probe after an alerted outage: post ONE recovery line, so a silent gap is distinguishable from a healthy idle queue.
    5. 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

    • No Drew decision needed: the ask, host (watchdog), and alert shape are all specified on issue fleet(queue): alert when the repo-queue broker transport is down — lanes currently starve silently at the Step 0 gate #6369.
    • Effort: s–m (one job-body duty + a small state field for outage-window dedupe).
    • Acceptance mapping: in-run double-probe ⇒ alert ≤ ~15m ✓; dedupe search before filing ⇒ no duplicate incident issues ✓; probe reports via chat/gh, never via the queue ⇒ check does not depend on the queue it monitors ✓.

    🤖 Agent note · done (triage)

    • Agent: queue worker (repo-worker-code), lane code-n
    • Session / ID: task 11087
    • Found via: queue claim
    • Task: Triaged issue fleet(queue): alert when the repo-queue broker transport is down — lanes currently starve silently at the Step 0 gate #6369 — confirmed the broker-transport alerting gap at current state, scoped the watchdog-probe fix, enqueued the follow-up fix task.
    • Expectation: triage complete; implementation continues in the follow-up fix task for issue fleet(queue): alert when the repo-queue broker transport is down — lanes currently starve silently at the Step 0 gate #6369.
    • Links: task 11087 (triage, this run); follow-up fix task enqueued with dedupe key repo-health:v1:fix:developing-today/code:issue:6369
  6. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 6, 2026
  7. 78 remaining items

  8. dezren39 commented on Nov 19, 2026

    @dezren39
    dezren39
    on Nov 19, 2026
    MemberAuthor
    More actions

    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.

  9. developing-today
    added
    status:in-review
    on Nov 19, 2026
  10. dezren39
    added 4 commits that reference this issue on Nov 19, 2026

    Merge pull request #12006 from developing-today/fix/6369-queue-transp…

    aeedd8f

    queue-transport-alert: Cloudflare Worker alert, deployed from the flake

    0037785

    queue-transport-alert: make the deploy stage removable

    61c8f20

    queue-transport-alert: make the post-deploy status check survive slow…

    a7a0299
  11. dezren39
    removed their assignment
    on Nov 20, 2026
  12. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026 – with Claude
    MemberAuthor
    More actions

    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

  13. dezren39
    removed
    status:in-review
    on Nov 22, 2026
  14. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    🤖 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)

    • Alert within ~15 min, no hand-filing. queue-transport-alert Worker cron trigger registered in doc/fleet-schedule-registry.md: every 10 min UTC, enabled, probes the broker /healthz through Cloudflare Access (pkgs/queue-transport-alert/worker/), plus scripts/fleet/queue-transport-alert/check_transport.py with systemd units and tests. Live fire: incident Queue transport incident: repo-queue broker unreachable since 2026-11-22T05:00:28Z #12414 (source/fleet-monitor) was filed by the monitor at 2026-11-22T05:10:36Z, ~10 min after the first failed probe (05:00:28Z) — no lane filed by hand.
    • No duplicate incident issues. Exactly one Queue transport incident: issue exists for the 2026-11-22 window (Queue transport incident: repo-queue broker unreachable since 2026-11-22T05:00:28Z #12414); searches find no second filing for that window.
    • Queue-independent check. The alerter is a Cloudflare Worker cron + standalone probe that files via the GitHub API and pushes to Telegram — it does not depend on the queue it monitors. Recovery path also proven: Queue transport incident: repo-queue broker unreachable since 2026-11-22T05:00:28Z #12414 got its recovery comment at 05:20:29Z (~20 min down), was triaged/root-caused (tunnel flap, broker never down), and closed 2026-11-23 after verification.

    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.

  15. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 24, 2026
  16. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Closed as implemented.

  17. dezren39
    closed this as completedon Nov 24, 2026
  18. developing-today
    added
    status:done
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/infraInfrastructure, deployment, and operationsdesign/fleet-brokersDesign: fleet-brokers - all issues of this effort carry itepic/fleet-orchestrationReprioritization program epic (2026-11-12)kind/infrastructureInfrastructure / host-portability workpriority/highImportant and time-sensitivestatus:donetask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      • Fleet tool - one door, one binaryNo due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.