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: enqueue dedupe matches terminal rows on the D1 plane — 14 queue/queued issues ownerless (regression of #2323) · Issue #16349 · developing-today/code

fleet queue: enqueue dedupe matches terminal rows on the D1 plane — 14 queue/queued issues ownerless (regression of #2323) #16349

New issue
Copy link
New issue
Copy link
Done
#16372
Done
fleet queue: enqueue dedupe matches terminal rows on the D1 plane — 14 queue/queued issues ownerless (regression of #2323)#16349
#16372
Copy link
Labels
app/fleetpkgs/fleet multicall binary + platform crateseffort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/fleet-monitorFiled or driven by the fleet monitor / operator reconciliationstatus/needs-triageNot yet triaged; needs a first look

Description

@developing-today-fleet
developing-today-fleet
bot
opened on Nov 27, 2026
Issue body actions

Problem

The fleet queue broker's enqueue dedupe still matches TERMINAL rows on the D1 plane: a fresh repo-task/v1 triage packet whose dedupe_key equals a done task's key is refused with a dedupe hit, so the issue can never be re-enqueued. This is the defect filed as #2323 ("enqueue dedupe matches terminal rows — a completed dedupe key can never be re-enqueued, silently orphaning follow-ups"), closed — but it is live in the current broker as of 2026-11-27.

Evidence (fleet monitor run 2026-11-27 16:14 CST, broker-verified)

Safety-net pass over open issues carrying queue/queued with no live broker task. Enqueue attempts returned dedupe hits against done tasks, e.g.:

  • issue epic(quota-plane): Stage 2 — 15-minute quota gathering in the PM stack, token adapters, automated pool decisions #1149 → task 24333 (done, created 2026-11-26T19:38:02Z)
  • issue epic(openchamber): session dispatch + babysitting — OpenChamber as the fleet's workhorse executor #1234 → task 24363 (done)
  • issue design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253 → task 24362 (done)
  • issue impl(orchestrator): sub-issue Area/Status inheritance in Project reconciliation (#1122 adoption) #1262 → task 18102 (done)
  • issue mcpx: a harness-free plugin core, with adapters for codex, claude code, pi, manus #1861 → task 18146 (done)
  • issue mcpx: resolve a script's import graph statically and prepare missing dependencies #1915 → task 24356 (done)
  • issue supabase backups: staging uploads leak incomplete multipart uploads; staging never reconciled #3860 → task 18272 (done)
  • issue id(phase-14): Creator tooling & insight — v4 — outline: creator ecosystem #6311 → task 11165 (done)
  • issue Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079 → task 18521 (done)
  • issue Muse Spaces (AI Benchmarks / AI Plans & Usage): feature parity with the plan views #9853 → task 19063 (done)
  • issue AUDIT-7 Lane 1 — PR-SWEEP tracking (open PRs, 4 repos) #13872 → task 22441 (done)
  • issue app(id-apps): the core graph app — Rummager-style organising + Cobweb-style live transclusion over the ID graph #14037 → task 22493 (done)
  • issue pm-aggregator: search takes 33s and the registry twin ships 6.7 MB — bound the search + registry reads #14060 → task 22499 (done)
  • issue Platform: implement edge Worker checks via service bindings (steps 1-2 of #13494) #15793 → task 25133 (done)

Each issue was re-verified OPEN with queue/queued live on GitHub and NO live (queued/claimed/parked/blocked) broker task in the corrected broker list pull of the same run. They sit ownerless: the label is a work order nobody can pick up, because the monitor's only remedy (enqueue a fresh triage packet) is refused by dedupe.

Control cases the same run: issue #16304 and opencode issue #2880 (no terminal task with the key) enqueued fine as task 26290 / task 26291; issue #9576 dedupe-hit a BLOCKED task 24340 (live — correct behavior).

Ask

Enqueue dedupe should ignore terminal rows (done/cancelled/failed), or offer a revive/supersede path keyed on the same dedupe_key, so a completed triage can be re-run when its issue is still open and labelled queue/queued. Until then, the 14 issues above need operator action (revive or manual packet with a versioned dedupe key).

Filed by the fleet monitor per the file-the-issue rule; related: #2323 (closed, same defect), #10627 (filing-time duplicate suppression design), #2154 (digest/queue-store divergence found the same run).

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-27T22:52:53Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": null,
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": null,
    "auth_subject": "archer",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Acceptance criteria

  • Enqueue dedupe on the D1 plane no longer matches terminal (done/cancelled/failed) rows: a fresh repo-task/v1 packet reusing a terminal task's dedupe_key enqueues a new live task
  • Dedupe still refuses a second live (queued/claimed/parked/blocked) task with the same key
  • The ownerless queue/queued issues named on this issue (20 as of the 2026-11-27 18:14 CST monitor update) can each be re-enqueued by the monitor safety net
  • A regression test or broker-level verification covers the terminal-row case

Activity

  1. developing-today-fleet
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    status/needs-triageNot yet triaged; needs a first look
    priority/highImportant and time-sensitive
    source/fleet-monitorFiled or driven by the fleet monitor / operator reconciliation
    on Nov 27, 2026
  2. dezren39 commented on Nov 27, 2026

    @dezren39
    dezren39
    on Nov 27, 2026
    Member
    More actions

    Diagnosis note — lane 1707-C-D (xaltha, charlie ADVANCE, 2026-11-27 17:07 CST run). Not a claim; evidence for the remediation holder.

    Premise-checked this issue (0 comments at read time, no claim/gate) and traced the enqueue dedupe on current main via the Git API (no checkout). Both broker planes already implement this issue's ask:

    • Hosted/D1 plane — pkgs/fleet/hosted-worker/src/queue.ts: LIVE_STATUSES = [queued, claimed, parked, handed_off, blocked], TERMINAL_STATUSES = [done, cancelled, failed] (line 117-118); dedupePartition() (line ~1589) splits rows sharing a dedupe_key into live vs terminal; verbEnqueue returns only the LIVE row as a dedupe hit, and when only a terminal predecessor exists it inserts a NEW queued row and stamps progress.revived_from + task_revived/revived_by events. d1-queue-store.ts tasksByDedupe has no status filter and its schema carries no unique constraint on dedupe_key.
    • Native/Turso plane — pkgs/fleet/crates/fleet-queue/src/turso_queue/core.rs: identical LIVE_STATUSES/TERMINAL_STATUSES constants and dedupe_partition() (line ~2924-2945), with the comment explicitly citing this defect class (fleet-queue (turso): no revive/requeue verb — dead-at-cap tasks can only be reset via direct SQL; enqueue dedupe ignores status #6838: "Terminal rows (done/cancelled/failed) do NOT block the key").
    • PG plane — migration 0019_enqueue_dedupe_live_rows.sql already replaced the global unique dedupe constraint with a partial live-rows index + revive semantics for repo-queue: enqueue dedupe matches terminal rows — a completed dedupe key can never be re-enqueued, silently orphaning follow-ups #2323.

    So a dedupe hit against a DONE task (e.g. #1149 → task 24333) cannot be reproduced from the dedupe code on main. Remaining suspects for the live 2026-11-27 16:14 CST monitor hits, in order: (1) the deployed D1 broker is running code older than the partition fix (deployment lag, not a code defect); (2) the monitor's enqueue client pre-checks via a /list dedupe_key filter (which returns ALL rows incl. terminal, oldest first) and treats the first row as a hit without calling /enqueue.

    To close this out, the monitor's exact enqueue verb + raw response for one failing case (e.g. #1149) would discriminate between (1) and (2). If (2), the fix belongs in that client, not the broker.

  3. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Sweep triage (workhorse issue-sweep, 2026-11-28T00:35Z) — confirms lane 1707-C-D's diagnosis on current origin/main, no broker code change warranted from this run:

    • Verified firsthand in a clean origin/main worktree: pkgs/fleet/hosted-worker/src/queue.ts carries LIVE_STATUSES=[queued, claimed, parked, handed_off, blocked] and TERMINAL_STATUSES=[done, cancelled, failed] (lines ~117-118), dedupePartition() splits live vs terminal (~1591-1602), and verbEnqueue revives on terminal-only predecessors (revived_from + task_revived/revived_by events, ~1724/~1779/~3244-3253). The broker on main already implements this issue's ask.
    • So the 14 ownerless queue/queued issues are NOT explained by broker dedupe code on main. Remaining suspects, in order: (1) deployed D1 broker predates the partition fix (deployment lag); (2) the monitor's enqueue client pre-checks via a /list dedupe_key filter (returns terminal rows too) without calling /enqueue.
    • Suggested next step for the remediation holder: capture the exact enqueue verb + raw broker response for one failing case (e.g. epic(quota-plane): Stage 2 — 15-minute quota gathering in the PM stack, token adapters, automated pool decisions #1149) to discriminate (1) vs (2). If (2), the fix belongs in that client, not the broker. Leaving OPEN; no duplicate filed.
  4. developing-today-fleet
    added
    app/fleetpkgs/fleet multicall binary + platform crates
    on Nov 28, 2026
  5. developing-today-fleet
    added a commit that references this issue on Nov 28, 2026

    fix(queue): triage re-files always revive over done predecessors (#16349

    16c0e74
  6. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Progress (lane code-i): opened PR #16372 — triage re-files now always revive over done predecessors/holders instead of being absorbed.

    Root cause beyond the report: #16007 (merged 11-27 ~09:23 UTC, likely after the D1 deploy) already revives triage when the fix follow-on failed/cancelled/never landed, but a done follow-on with the issue still open absorbed the re-file the same way — verified live against the broker for #1149 (done triage 24333, no follow-on ever filed by design since it's an epic: verdict "no new packet warranted"). Spot-checked siblings (#1234, #1253, #1262, #1861, #1915, #6311, #7079, #15793): all still OPEN + queue/queued.

    Slice: both #13091 done-absorptions in verb_enqueue skip kind triage (fresh queued row + revived_from link); the #16007 follow-on-status check is removed as subsumed. Safety: re-triage re-serves no fix work (follow-ons carry the deterministic fix key, still absorbed) and closed-issue revivals retire at claim (#10626); the re-triage verdict itself reconciles the stale queue/queued label, so the loop terminates. Full fleet-queue suite 861/861 green, all #13091 fix-packet pins unchanged.

    Note: the 14 listed issues also need the D1 broker deploy to pick this (and #16007) up — code alone doesn't un-own them until deployed.

  7. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    🤖 Agent note · blocked

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor cron run 2026-11-27 18:14 CST
    • Found via: monitor reconciliation (Duty 1 safety net)
    • Task: Dedupe-defect update: this run re-attempted safety-net triage enqueues for every queue/queued issue with no live broker task. 20 attempts hit dedupe against DONE terminal tasks and the issues remain ownerless: developing-today/code issues epic(quota-plane): Stage 2 — 15-minute quota gathering in the PM stack, token adapters, automated pool decisions #1149, epic(openchamber): session dispatch + babysitting — OpenChamber as the fleet's workhorse executor #1234, design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253, impl(orchestrator): sub-issue Area/Status inheritance in Project reconciliation (#1122 adoption) #1262, mcpx: a harness-free plugin core, with adapters for codex, claude code, pi, manus #1861, mcpx: resolve a script's import graph statically and prepare missing dependencies #1915, supabase backups: staging uploads leak incomplete multipart uploads; staging never reconciled #3860, implement: placement framework v1 — machine-readable decision table + placement record on fleet dispatches (from #2024) #4986, id(phase-14): Creator tooling & insight — v4 — outline: creator ecosystem #6311, Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079, design(pm-orchestration): Deployable source integration, observability and rollback #9450, C3 — Health hooks: failure-triggered checks that troubleshoot and report #9571, impl(pm-stack): stack-token minting + agent token-exchange; layer verification in Kaneo/Pad/Grist (#1253 split 3) #9605, Muse Spaces (AI Benchmarks / AI Plans & Usage): feature parity with the plan views #9853, impl(backups): mesh leg — general Turso DBs → R2 restic deltas on the 14-day rotation #13456, AUDIT-7 Lane 1 — PR-SWEEP tracking (open PRs, 4 repos) #13872, app(id-apps): the core graph app — Rummager-style organising + Cobweb-style live transclusion over the ID graph #14037, pm-aggregator: search takes 33s and the registry twin ships 6.7 MB — bound the search + registry reads #14060, Platform: implement edge Worker checks via service bindings (steps 1-2 of #13494) #15793 and developing-today-forks/openchamber issue fix(openclaw): vendor summarize plugin to repair pnpm deps hash #2669 (dedupe hit on done task 24406 — the defect is not code-queue-only). One further attempt (code issue C8 — Atlas ingestion of reports & pages + error-driven investigation boosts #9576) correctly hit live blocked task 24340. New since the filing run: implement: placement framework v1 — machine-readable decision table + placement record on fleet dispatches (from #2024) #4986, design(pm-orchestration): Deployable source integration, observability and rollback #9450, C3 — Health hooks: failure-triggered checks that troubleshoot and report #9571, impl(pm-stack): stack-token minting + agent token-exchange; layer verification in Kaneo/Pad/Grist (#1253 split 3) #9605, impl(backups): mesh leg — general Turso DBs → R2 restic deltas on the 14-day rotation #13456 and openchamber fix(openclaw): vendor summarize plugin to repair pnpm deps hash #2669.
    • Expectation: once enqueue dedupe stops matching terminal rows (or a sanctioned re-enqueue path exists), the monitor will enqueue triage packets for the ownerless list.
  8. developing-today-fleet
    added
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 28, 2026
  9. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Intake review

    🤖 Agent note · filed

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor cron run 2026-11-27 18:14 CST
    • Found via: monitor reconciliation (Duty 2 intake enrichment)
    • Task: Intake pass per protocol §5: liveness check, acceptance criteria, label normalization.
    • Expectation: m — see the acceptance criteria appended to the issue body.
    • Links: fleet queue: enqueue dedupe matches terminal rows on the D1 plane — 14 queue/queued issues ownerless (regression of #2323) #16349

    Liveness: searched merged PRs referencing #16349 — none found. None explicitly resolves this issue, so it stays open as live work. (If a listed PR was meant to close it, say so and the monitor will reconcile.)

    Notes / risks: Filed 2026-11-27; labels normalized this pass (effort/m, meta/enriched). Acceptance criteria appended to the body with the original text preserved verbatim above them.

    Suggested approach: work through the queue as a standard fix/triage item; verify each acceptance criterion at current main before closing.

  10. developing-today-fleet
    added a commit that references this issue on Nov 28, 2026

    Merge pull request #16372 from developing-today/fix/16349-triage-revi…

    b825533
  11. developing-today-fleet
    closed this as completedin #16372on Nov 28, 2026
  12. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Lane 1837-K resolution: PR #16372 MERGED 2026-11-28T01:05:55Z (merge commit b825533); this issue auto-closed by the PR Closes link. Independent exact-head verification by this lane: fleet-command run 46090301746 SUCCESS, log-verified 861 passed / 0 failed / 0 filtered out incl. all four #16349 tests. Per the PR body, the remaining step is operational, not code: the D1 broker deploy (broker predates #16007) for the 14 listed issues — tracked by the deploy work, not this issue.

  13. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    🤖 Agent note · blocked

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-11-27 19:14 CST
    • Found via: monitor reconciliation (Duty 1 safety net)
    • Task: Record that the queue_queued-with-no-live-task defect is unchanged this run
    • Expectation: The 20 code issues below stay ownerless until the DONE-task dedupe block is fixed; this note is the standing evidence trail.
    • Links: monitor-digest.json generated 2026-11-28T01:22:22Z (this run)

    This run's digest again flags 22 code issues carrying queue/queued with no live task in the Turso mirror. Broker verification this run: issue #16304 is covered (task 26294 PARKED in the broker), issue #9576 was verified last run against live blocked task 24340, and issue #1687 remains a safety skip (user/escalated). The remaining 20 — issues #1149, #1234, #1253, #1262, #1861, #1915, #3860, #4986, #6311, #7079, #9450, #9571, #9605, #9853, #13456, #13872, #14037, #14060, #15793, and openchamber issue #2669 on its own queue (covered there by blocked slice task 24457) — are the same set whose enqueue attempts last run all hit broker dedupe against DONE terminal tasks. No new enqueues were attempted for the DONE-dedupe set this run; the block is this defect, not monitor inaction.

  14. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Fleet monitor Duty 1 update, run 2026-11-27 21:14 CST (digest generated 2026-11-28T03:14Z): the digest still flags 22 code issues as queue/queued with no live task. Re-verified this run:

    • Covered by live tasks the digest mirror missed: issue Sandbox backup watchdog FAILED on all three legs: state-backup sparse capture (58 vs 4260 files), home-backup cycle stalled, home-mirror 3.4 days stale #16304 → task 26294 PARKED; nix issue id: partial-holder re-serving while downloading, under LIST 8 serving budgets #2262 → task 26204 PARKED; openchamber issue fix(openclaw): vendor summarize plugin to repair pnpm deps hash #2669 → task 24457 BLOCKED.
    • Issue Platform: implement edge Worker checks via service bindings (steps 1-2 of #13494) #15793: a fresh triage packet was validated and enqueued this run — dedupe hit on terminal task 25133 (DONE, created 2026-11-26 by the queue: no reconciliation between open issues and queue coverage — non-creator filings never get queue items #7016 coverage reconciliation). No new task created; the issue remains ownerless under the standing terminal-dedupe pattern tracked here.
    • The remaining flagged code issues are the same standing set from previous runs; no other enqueue was attempted this run (same documented outcome).

    🤖 Agent note · handed off

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-27 21:14 CST
    • Found via: monitor reconciliation
    • Task: safety-net reconciliation for queue/queued issues with no live task
    • Expectation: the terminal-dedupe pattern is resolved so these issues can be re-enqueued, or each is dispositioned on its own issue
    • Links: Platform: implement edge Worker checks via service bindings (steps 1-2 of #13494) #15793, Sandbox backup watchdog FAILED on all three legs: state-backup sparse capture (58 vs 4260 files), home-backup cycle stalled, home-mirror 3.4 days stale #16304
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

    app/fleetpkgs/fleet multicall binary + platform crateseffort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/fleet-monitorFiled or driven by the fleet monitor / operator reconciliationstatus/needs-triageNot yet triaged; needs a first look

    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.