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 — epic(fleet): queue fleet reliability — lane workers for every queue, certified shift reporting · Issue #1233 · developing-today/code

epic(fleet): queue fleet reliability — lane workers for every queue, certified shift reporting #1233

New issue
Copy link
New issue
Copy link
In progress
5 / 65 of 6 issues completed
In progress
epic(fleet): queue fleet reliability — lane workers for every queue, certified shift reporting#1233
5 / 65 of 6 issues completed
Copy link
Labels
area/infraInfrastructure, deployment, and operationseffort/lLarge: multi-day or open-ended; expect staged check-insepicMeta-issue grouping multiple items (org Project Type=Epic)epic/fleet-orchestrationReprioritization program epic (2026-11-12)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedmode/onlineFully doable remotely: design, config, code, cloudpriority/highImportant and time-sensitivesource/creatorFiled by the new-issue-creator jobstatus/triagedTriaged and routed (see agent note)status:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Oct 27, 2026
Issue body actions

Queue fleet reliability

Purpose

The queue system that keeps the four repos healthy (Supabase agent.tasks, the repo-health queues, lane shifts, the fleet monitor) proved itself on 2026-10-26 — and showed exactly two reliability defects. This epic closes both, so the fleet runs for a week at a time without operator repairs.

Scope

  1. Claim evaporation on the non-code queues. The code queue runs two staggered lane shifts (~90-min budgets); opencode/openchamber/nix are worked by short-budget arrangements whose runs end mid-task, stranding claims. On 2026-10-26 the monitor repaired 10+ divergences and two tasks died in queue (repaired by operator cap raises + migration 0012's park/resume accounting fix). Child: Queue workers: give the non-code queues lane-style long-budget shifts (claim evaporation is a run-budget problem) #1130 — lane-style long-budget shifts for the non-code queues.
  2. Uncertified shift runs. Five runs on 2026-10-26 ended with a tool result lost, unable to certify their own completion even when the work landed; the parent re-verified from GitHub/queue state by hand each time. Child: Fleet observability: certify shift completion from queue state, not run self-report (uncertified runs) #1131 — certify completion from durable state, automatically.

Out of scope: producer jobs (new-issue-creator, pr-diff-review) and the Phase 3 sweep-producer expansion (paused by Drew 2026-10-26; separate decision).

Execution mode

Online: cron job bodies, worker instructions, monitor duties, Supabase migrations. All changes follow the fleet's isolation rules (pilot functions only; global claim/fail untouched) and the no-uncommitted-code rule.

Dependencies

Builds on migration 0012 (applied 2026-10-26: park/resume no longer consumes attempts). Measured by the queue-pilot interim check (2026-10-28) and the fleet monitor's hourly reports.

Acceptance

  • Zero dead-in-queue tasks across all four queues over a rolling 7 days.
  • Every shift delivery is certified from queue/GitHub state; no delivery rests on a run's self-report alone.
  • The monitor's evaporation-repair count trends to zero; operator cap raises are no longer a routine event.

Filed by Muse (operator) 2026-10-26, grouping #1130 + #1131 under Drew's direction that fleet work carry epics, roadmap items, and dashboard prioritization.

Sub-issues

Collapse Sub-issuesSub-issues

5 of 65 of 6 Issues completed
Loading 6 sub-issues

Activity

Next
  1. dezren39
    added
    status/needs-triageNot yet triaged; needs a first look
    priority/highImportant and time-sensitive
    area/infraInfrastructure, deployment, and operations
    epicMeta-issue grouping multiple items (org Project Type=Epic)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    on Oct 27, 2026
  2. developing-today commented on Oct 27, 2026

    @developing-today
    developing-todayBot
    on Oct 27, 2026 – with developing.today
    Contributor
    More actions

    CODE-365

  3. dezren39
    added
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 27, 2026
  4. dezren39
    added sub-issues on Oct 27, 2026
    • Queue workers: give the non-code queues lane-style long-budget shifts (claim evaporation is a run-budget problem) #1130
    • Fleet observability: certify shift completion from queue state, not run self-report (uncertified runs) #1131
  5. github-actions
    assigned
    dezren39
    on Oct 27, 2026
  6. dezren39
    added sub-issues on Oct 27, 2026
    • Fleet reporting convention: queue task IDs and GitHub issue numbers collide — always prefix #1274
    • Queue dedupe is a one-way door: a cancelled task permanently blocks re-enqueue of its issue #1298
    • Git hygiene reconciliation: push finished work, PR orphaned branches, classify dirty trees — and make it a standing sweep #1371
  7. dezren39
    added
    mode/onlineFully doable remotely: design, config, code, cloud
    queue/queuedHas a queued queue task
    on Nov 1, 2026
  8. 22 remaining items

  9. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: triaged
    task 18093 (repo-health-code-pilot, lane code-e)

    Bulk-intake re-triage verification, 2026-11-17.

    Fresh state checked this run: epic issue #1233 is OPEN, labels epic, status/triaged, priority/high, effort/l, epic/fleet-orchestration. No status/needs-triage and no held, user/owned, do-not-merge, or do-not-auto-edit label.

    Record on the issue, re-read this run: both children (issue #1130, issue #1131) are closed - program tending recorded 2 of 2 children closed on 2026-11-12 and proposed closure of this epic, with no remainder stated since. The certification criterion was investigated to root cause on issue #7070 (task 14576, 2026-11-10/11): the lane c/e uncertified flags were a fleet-wide infra-era artifact (issues #6619, #6853), not a snapshot defect, and the monitor's 2026-11-08 reading showed lanes a-f certified. One 2026-11-11 note said lane e's worker job was disabled; that is no longer true - this note is written by a live lane code-e shift.

    Verdict: triage complete; the epic's build work is done (children closed, verification complete). This lane does NOT close the epic on this pass: its acceptance is operational and monitor-measured (zero dead-in-queue tasks across all four queues over a rolling 7 days; monitor evaporation-repair count trending to zero), and this triage did not take the monitor's current 7-day reading, so it will not certify a measurement it did not make. The closure proposed by program tending on 2026-11-12 stands as the pending action, executable by program tending (or any lane) once that current monitor reading is in hand - that reading is the only remaining step this triage names.

    Completing task 18093 as triaged.

  10. dezren39 commented on Nov 19, 2026

    @dezren39
    dezren39
    on Nov 19, 2026
    MemberAuthor
    More actions

    Program tending — epic completion (tracking: #1352)

    • Child progress: 2 of 2 children closed (0 open).
    • Last movement: 2026-11-17T01:28:24Z.
    • All recorded children are closed. Proposing closure of this epic: if more work belongs here, reopen a child or say what remains and this stays open.
  11. dezren39
    removed their assignment
    on Nov 20, 2026
  12. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    Lane AI pickup — slice: stop agent-next claim evaporation (the #12618 defect, this epic's defect #1 recurring on the Turso queue).

    Why this slice: both children (#1130, #1131) are closed and the 2026-11-17 triage left only an operational measurement — but today the queue produced fresh evidence that acceptance criterion 2 (every shift delivery certified from queue state; no delivery resting on self-report) is being violated in practice: tasks claimed via fleet agent next cannot be completed once the work runs past the claim lease, so completions are being recorded by fleet queue cancel --reason "<self-reported completion record>" (cancel has no claimed-by guard) while the task itself evaporates back to queued and is re-served. That is claim evaporation + uncertified delivery, this epic's two named defects, in the current tooling.

    Diagnosis (live drill on scratch queues + source read, full record on #12618):

    • A claim taken with agent-next's exact argv (queue claim --worker archer --lane archer, no --lease-seconds) and completed immediately passes the claimed-by guard and reaches the completion gate — there is no identity mismatch on a live claim.
    • The same claim completed after its lease lapses is refused (exit 5): expire_leases returns the row to queued with worker_id NULL. Agent-next passes no lease, so the broker default of 2700s (45 min) applies, and nothing in the agent-next flow heartbeats — lane work routinely runs 1–3 hours.

    Fix slice (one PR): fleet agent next takes its queue claim with an explicit lease sized for agent work instead of silently inheriting the 45-minute default, and names the lease in the claim output/instructions it hands the worker. Oracle: fleet-agent tests pinning the claim argv (failing first), plus the drill re-run. Broker-served behavior is NOT changed (client-side claim parameters only), so no broker redeploy is needed; the broker already distinguishes the expired-lease refusal in its message on current main.

  13. dezren39
    added 2 commits that reference this issue on Nov 22, 2026

    test(fleet): health_entry defaults failed_events_24h/7d to zero (#1233)

    de06634

    feat(fleet): split failed terminal events out of health totals (#1233)

    7859388
  14. developing-today
    added
    status:in-review
    on Nov 22, 2026
  15. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    🤖 Agent note · slice landed — criterion 1 becomes measurable (PR #12682)

    • Agent: queue worker (repo-worker-code), lane xaltha
    • Session / ID: 2026-11-22 ~14:48 CST · queue handoff for epic(fleet): queue fleet reliability — lane workers for every queue, certified shift reporting #1233
    • Found via: feature-slice pass over epic epic(fleet): queue fleet reliability — lane workers for every queue, certified shift reporting #1233

    Slice: fleet queue health now reports failed_events_24h / failed_events_7d per queue (PR #12682). Until now health lumped failed terminal events into terminal_events_24h/7d with completed ones, so criterion 1 ("zero dead-in-queue over a rolling 7 days") could not be read off health at all — repo-health-code-pilot showed 2846 terminal events in 7d with no way to tell whether any were failures. After this PR, failed_events_7d = 0 per queue is the criterion reading off the instrument. No schema, queue, or claim-path change; the live broker serves the new columns once the PR lands and deploys.

    Fresh state this run (2026-11-22 ~14:49 CST, fleet queue health): all four pilot queues read queued 0, at_cap_queued 0, failed 0 — code, nix, openchamber, opencode. That is a point-in-time snapshot, not the rolling 7-day window, which is exactly why this slice exists.

    What remains on the epic: criteria 2–3 still need their monitor readings (shift certification 24h metric; evaporation-repair trend). No new code slice was available: both implementation children (#1130, #1131) are closed, the #2937 follow-ons are closed (#6528 at-cap, #6838 revive, #8154 claim-null diagnostic), and #7070's root cause is recorded as a fleet-wide infra-era artifact, not a code defect.

    Next slice: once #12682 is live, take the 7-day failed_events_7d reading across the four queues and post it here — if all four read 0, criterion 1 is evidenced.

  16. dezren39
    added a commit that references this issue on Nov 22, 2026

    fix(fleet-agent): agent next claims with a 4-hour lease (#12618)

    6506c66
  17. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    #1233 criterion 2 slice landed: the claim-evaporation defect Lane AI diagnosed under this epic (#12618; claim note comment 7085597701) is fixed — PR #12690 merged (364eee3baab), and #12618 is closed as completed with the full test + drill record on it.

    Effect on criterion 2 (every shift delivery certified from queue state; no delivery resting on self-report): fleet agent next claims now carry an explicit 4-hour lease and name it in the hand-out, so work claimed through agent-next completes through fleet queue complete's claimed-by guard instead of being recorded by a self-reported queue cancel reason. The drill on the merged tree's binary showed both halves: a completion landing on an agent-next claim (task 21080, rc=0), and the lapse refusal (broker exit 5) reproduced on a 5-second-lease control (task 21082). The cancel workaround remains only for claims taken by older binaries until seats update.

  18. dezren39
    added 2 commits that reference this issue on Nov 22, 2026

    fix(fleet): count terminal failures only in health failed-events sums (…

    f68e5df

    Merge pull request #12682 from developing-today/xaltha/1233-failed-ev…

    f86b529
  19. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Program tending — epic completion (tracking: #1352)

    • Child progress: 2 of 2 children closed (0 open).
    • Last movement: 2026-11-24T02:31:15Z.
    • All recorded children are closed. Proposing closure of this epic: if more work belongs here, reopen a child or say what remains and this stays open.
  20. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage re-verification · task 24960, lane code-g (2026-11-26): epic stays open — 5/6 children CLOSED (#1130, #1131, #1274, #1298, #1371); sole open child #7070 (shift-certifier handoff snapshots) is OPEN with 35 comments. No packet at epic level; work lives in #7070.

  21. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · verify-and-route (task 25458, lane oc-code-05)

    Fresh verification (2026-11-27): #1233 OPEN; no hard-stop labels. Its implementation children #1130 and #1131 are CLOSED. The remaining child #7070 is still OPEN, last updated 2026-11-24, with prior investigation notes (tasks 14576/18519/20020/22823) recording the root cause and that closure rides with this epic. No new epic-level packet: the remaining scope is specifically #7070, and the epic is not ready to close while that child remains open. Current verify-disposition readback for #1233 is merged_verified (PR #12682 merged).

    Verdict: triaged; no duplicate follow-on created. Continue via the existing #7070 investigation/closure record, then reassess this epic.

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 operationseffort/lLarge: multi-day or open-ended; expect staged check-insepicMeta-issue grouping multiple items (org Project Type=Epic)epic/fleet-orchestrationReprioritization program epic (2026-11-12)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedmode/onlineFully doable remotely: design, config, code, cloudpriority/highImportant and time-sensitivesource/creatorFiled by the new-issue-creator jobstatus/triagedTriaged and routed (see agent note)status:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      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.