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 — repo-queue: claim can hand out a payload-null task, and list views cannot recover a live claim by lane · Issue #5444 · developing-today/code

repo-queue: claim can hand out a payload-null task, and list views cannot recover a live claim by lane #5444

New issue
Copy link
New issue
Copy link
Closed
#7673
Closed
repo-queue: claim can hand out a payload-null task, and list views cannot recover a live claim by lane#5444
#7673
Copy link
Assignees
dezren39
Labels
bugSomething isn't workingstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Description

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

Problem

On 2026-11-04 ~12:49Z, lane code-u's shift claimed a task from queue repo-health-code-pilot whose payload is null — no kind, no issue, no repo-task/v1 fields. A worker cannot route or work such a packet (the lane's claim loop crashed on payload.get("kind") with AttributeError: 'NoneType' object has no attribute 'get'), and the claim's task id is not recoverable afterwards from the helper's own views:

  • repo-queue list --status claimed returns only one row (task 8625) despite queue health reporting ~245 claimed.
  • repo-queue list returns only ~22 rows total.

So a payload-less claim is a dead claim until its lease expires: the worker cannot identify it to park/block/complete it, and no list view surfaces it by lane or recency.

Acceptance

  • The claim path never hands out a task whose payload fails the repo-task/v1 schema (validate at enqueue and/or claim; quarantine existing payload-less rows so they are not claimable).
  • repo-queue list can surface a worker's/lane's live claims (filter by lane/worker and status, with a usable limit), so a claim interrupted by a worker crash is recoverable by id before its lease expires.

Evidence

  • Lane code-u shift starting 2026-11-04T12:24Z; two normal handoffs (task 9347, task 9325) immediately preceded the payload-null claim in the same claim loop.
  • The two list outputs above were captured in the same shift, minutes after the claim.

Filed by lane code-u per the file-the-issue rule; the unidentified claim itself will fall back to queued when its 2700s lease expires.

Activity

Next
  1. dezren39
    added
    bugSomething isn't working
    on Nov 4, 2026
  2. developing-today commented on Nov 4, 2026

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

    CODE-1322

  3. dezren39 commented on Nov 4, 2026

    @dezren39
    dezren39
    on Nov 4, 2026
    MemberAuthor
    More actions

    Correction from the filing lane (code-u), same shift: the payload-null claim that prompted this issue was not a defective task. After the queue drained for this lane, re-running repo-queue claim returned the identical shape — an all-null row (id: null, payload: null, every field null) — which is the helper's "no task available" sentinel. No claim was lost; there was no task id to recover, and the list-view concern in the original report was chased on that false premise (the list outputs were real, but they were never going to show a claim that did not exist).

    What survives of this issue, narrowed:

    • The no-task sentinel is an all-null task-shaped row, indistinguishable from a malformed task record; it crashed a worker claim loop that parsed payload before checking id. An explicit signal (nonzero exit, empty stdout, or a dedicated status/empty marker) would make "nothing to claim" unambiguous for every consumer.
    • Worker claim loops must treat the all-null row as "no task" — lane code-u's loop now does (checks id first).

    The list-filter/limit behaviour may still be worth documenting, but it is not evidence of an unrecoverable claim. Sorry for the noise in the original framing.

  4. github-actions
    assigned
    dezren39
    on Nov 4, 2026
  5. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 5, 2026
  6. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (triage)

    • Agent: queue worker (repo-worker-code), lane code-t
    • Session / ID: task 10041
    • Found via: queue claim
    • Task: triaged issue repo-queue: claim can hand out a payload-null task, and list views cannot recover a live claim by lane #5444 at current helper behaviour; findings below, follow-up fix enqueued as task 10385
    • Expectation: done = issue repo-queue: claim can hand out a payload-null task, and list views cannot recover a live claim by lane #5444 routed with evidence; the narrowed fix is task 10385
    • Links: task 10385 (follow-up small_fix)

    Triage findings (verified fresh 2026-11-05, lane code-t shift):

    1. Original premise already disproven — by the filer. The correction comment on issue repo-queue: claim can hand out a payload-null task, and list views cannot recover a live claim by lane #5444 (dezren39) establishes the "payload-null claim" was the helper's no-task sentinel, not a defective task: no claim was lost and there was no task id to recover. The original acceptance items (payload validation at claim; list views to recover the claim) were chased on that false premise and are NOT the fix path.
    2. The narrowed surviving scope still reproduces. This shift, lane code-t received the all-null sentinel row 5 times (exit 0, every field null, no status/empty marker), interleaved with successful claims of task 9381, task 9896 and task 10041, while fleet queue health showed queued_count 135. "Nothing claimable right now" and "malformed task record" remain indistinguishable in shape — exactly the narrowed complaint.
    3. List recovery works — with a trap. fleet queue list --queue repo-health-code-pilot --status claimed does surface live claims (it listed task 10041 minutes after claim). But fleet queue list --status claimed WITHOUT --queue prints (no tasks), which reads as "no claims exist" rather than "no queue selected" — a related ambiguity folded into the follow-up.

    Disposition: follow-up small_fix task 10385 enqueued (queue repo-health-code-pilot): make the claim no-task signal unambiguous (dedicated marker / empty stdout / nonzero exit), keep id-first consumers working, and fix or explicitly document the list no-queue default, with regression coverage for the sentinel shape. Issue #5444 stays open for task 10385.

  7. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    work/assignedQueue worker lifecycle state
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  8. 76 remaining items

  9. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 8, 2026
  10. developing-today commented on Nov 8, 2026

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

    🤖 Agent note · parked (CI pending, resume)

    • Agent: queue worker (repo-worker-code), lane code-k
    • Session / ID: task 12827 (attempts 3/3, at cap)
    • Found via: queue claim (assigned_lane=direct; resume per checkpoint, not a restart)
    • Task: Re-verified PR fix(fleet-queue): claim never hands out a payload-less/invalid packet; list gains --lane/--worker (#5444) #7673 fresh: OPEN, head 1cf3002, not draft; check runs 7 total — 6 QUEUED, 1 completed/skipped (fleet runner backlog). No merge possible yet.
    • Expectation: resume when checks go green: merge PR fix(fleet-queue): claim never hands out a payload-less/invalid packet; list gains --lane/--worker (#5444) #7673, then live-verify fleet queue list --lane/--worker against the deployed binary, then complete task 12827.
  11. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-q
    • Session / ID: task 12827
    • Found via: queue claim
    • Task: Resuming task 12827 for issue repo-queue: claim can hand out a payload-null task, and list views cannot recover a live claim by lane #5444 — PR fix(fleet-queue): claim never hands out a payload-less/invalid packet; list gains --lane/--worker (#5444) #7673 open at head 1cf3002; verifying diff + targeted tests on the laptop, then merge if verified or park on CI
    • Expectation: effort m; done = PR fix(fleet-queue): claim never hands out a payload-less/invalid packet; list gains --lane/--worker (#5444) #7673 merged (closing issue repo-queue: claim can hand out a payload-null task, and list views cannot recover a live claim by lane #5444) or parked with the exact resume condition
    • Links: PR fix(fleet-queue): claim never hands out a payload-less/invalid packet; list gains --lane/--worker (#5444) #7673, issue repo-queue: claim can hand out a payload-null task, and list views cannot recover a live claim by lane #5444
  12. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    🤖 Agent note · blocked

    • Agent: queue worker (repo-worker-code), lane code-q
    • Session / ID: task 12827
    • Found via: queue claim
    • Task: Stand-down for task 12827 / issue repo-queue: claim can hand out a payload-null task, and list views cannot recover a live claim by lane #5444: this lane's claim returned task 12827 and its claimed checkpoint was accepted by the script, but the verified checkpoint returned the verdict "task 12827 is not claimed by repo-worker-code" — the claim does not hold for this lane (known claim-displacement pattern). Disregard this lane's pickup note 6722469427. No work was done, PR fix(fleet-queue): claim never hands out a payload-less/invalid packet; list gains --lane/--worker (#5444) #7673 was not touched, and labels were left in their prior parked set; the live holder drives task 12827.
    • Expectation: live holder / opencode claimant drives task 12827 to its terminal state; resume condition for PR fix(fleet-queue): claim never hands out a payload-less/invalid packet; list gains --lane/--worker (#5444) #7673 remains: checks green (or verified per standing criteria) → merge, closing issue repo-queue: claim can hand out a payload-null task, and list views cannot recover a live claim by lane #5444.
    • Links: PR fix(fleet-queue): claim never hands out a payload-less/invalid packet; list gains --lane/--worker (#5444) #7673, issue repo-queue: claim can hand out a payload-null task, and list views cannot recover a live claim by lane #5444
  13. dezren39
    added a commit that references this issue on Nov 8, 2026

    Merge pull request #7673 from developing-today/queue/12827-5444-claim…

    e6dd246
  14. dezren39
    closed this as completedin #7673on Nov 8, 2026
  15. developing-today
    added
    status:done
    on Nov 8, 2026
  16. developing-today commented on Nov 8, 2026

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

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane code-o
    • Session / ID: task 12827
    • Found via: queue claim (direct lane; resumed prior lane code-k work per anti-evaporation resume rule)
    • Task: Fix issue repo-queue: claim can hand out a payload-null task, and list views cannot recover a live claim by lane #5444 — claim path must never hand out a payload-less/invalid packet; list gains --lane/--worker filters. Implementation was already committed and pushed as PR fix(fleet-queue): claim never hands out a payload-less/invalid packet; list gains --lane/--worker (#5444) #7673 by the earlier claim; this shift revalidated it fresh, ran the targeted tests, and merged it.
    • Expectation: Done: PR fix(fleet-queue): claim never hands out a payload-less/invalid packet; list gains --lane/--worker (#5444) #7673 merged as e6dd246. Verified: cargo test -p fleet-queue --features queue-broker,client --lib on the laptop — 93 passed, 0 failed, including the 3 new claim_guard tests (oracle: validate_packet, the /enqueue validator). PR fix(fleet-queue): claim never hands out a payload-less/invalid packet; list gains --lane/--worker (#5444) #7673 was MERGEABLE with no Codex findings; its CI checks sat pending for ~6h in the current fleet-wide CI stall (0 failures), so the merge proceeded on the laptop test verification. Remaining: the live queue-broker still runs the pre-merge Nix-store binary — deploying the merged fleet build and live-verifying fleet queue list --lane/--worker against the backend is enqueued as a follow-up task from this shift.
    • Links: PR fix(fleet-queue): claim never hands out a payload-less/invalid packet; list gains --lane/--worker (#5444) #7673, issue repo-queue: claim can hand out a payload-null task, and list views cannot recover a live claim by lane #5444, task 12827
  17. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 8, 2026
  18. dezren39
    added a commit that references this issue on Nov 11, 2026

    fix(fleet-queue): allow null body, the stored spelling of absent (Cod…

    4d9a1db
  19. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Payload-repair pass over the quarantined packet-defect pile — 2026-11-14

    Ran the repair pass over the 285 packet-defect tasks from the 2026-11-14 push census (classes in push-census-2026-11-14/classes.json), following the queue-hygiene sweep's packet-defect repair shape, with validate_packet (fleet-queue validate.rs, the #5444 claim-guard oracle) as the specification. The repair checker is a faithful port of that validator, cross-checked against the guard's own recorded last_error strings on 277 quarantined tasks before any write: zero disagreements.

    Results

    • 264 payloads repaired and re-validated to zero validator errors against the live DB rows (payload rewrite only; issue links and intent preserved).
    • 257 released to queued with paired packet_repaired events. Claim proof: within ~5 minutes of release, lanes had claimed 11 of them and completed 1 (task 1287, done); the ready set main enqueued this week (16482, 16483, 16540, 16547, 16554, 16555, 16469–16473, 16101–16104, 16078, 15864) is queued/claimed. Queue-wide blocked count: 504 → 247.
    • Defect types across the repaired set (a task can carry several): missing/invalid schema fields 155 · payload.max_attempts ≠ column 109 — created by the fleet-wide column raise to 1000, which the payload copies never followed · identity/dedupe defects 15 (incl. 12 dedupe_key rewrites to the canonical family keys and 3 prs normalizations to {number} objects) · empty body 4 · priority off-scale 2 (payload repaired; the envelope defect remains — see below).

    Repaired but deliberately not released (payload fixed, status kept): the six packet_defect_result tasks (9129, 9687, 12549, 12663, 15021, 16090 — substantive blockers recorded in their results) and task 9811.

    Not repaired

    • 12 dispatch-origin packets (8993, 9522, 9523, 9737, 9738, 9752, 10509, 10510, 10576, 10577, 10810, 10949): valid under pm-dispatch's TypeScript validator, which accepts origin: "dispatch" as identity, but the Rust claim validator has no dispatch identity — they carry no issue/prs/set/source anchor, and none can be added without inventing one. This is a spec disagreement between the two validators; the packets stay quarantined until it is resolved.
    • Priority 15 (expedite band) is not on the validator's design scale [10, 20, 30, 40, 50, 70, 90], so every priority-15 row fails packet.priority at claim even with a perfect payload (tasks 9811, 16470 payload-repaired; 16470 was released per the ready-set order and is claimed, but the residual stands). Needs a ruling: add 15 to the scale, or move expedite work onto a scale value.
    • Untouched by design: the pkgs/id: split the monolith crate into sub-crates along module seams (prioritized by Drew 2026-11-01) #3447 expedite family (6294, 6295, 6298, 6300, 6301, 6303, 16472), tasks 1016/1017 (empty payloads; a separate decision already in front of Drew), task 16484 (main-direct).

    Two judgment calls, flagged

    • Task 16101's canonical key (repo-health:v1:fix:developing-today/code:issue:9427) was already held by done task 16154 — the same work, whose PR fix(flake): update id-rust-overlay for Rust 1.99.1 (#9427) #9622 is still open. 16101 was released with the key and an evidence pointer telling the claiming lane to drive fix(flake): update id-rust-overlay for Rust 1.99.1 (#9427) #9622 to merge rather than open a duplicate.
    • Task 2050 was repaired, validated, and released; one claim attempt re-quarantined it on a max_attempts mismatch read (the pair is now consistently 1000/1000 in the DB — a transient stale read at claim time). Its result also carries a Drew-decision blocker from the blocked review, so it was left blocked for the orchestrator rather than re-released from here.

    Enqueue-side lesson: raw-SQL enqueues must write full v1 payloads — every schema field present, payload.max_attempts equal to the column value, and a canonical family dedupe key that agrees with the payload identity. The fleet-queue CLI does all of this; direct SQL that skips it produces tasks the claim guard quarantines at first claim. Most of this pile (including all of this week's hand-enqueued tasks) came from exactly that shortcut.

    Repair artifacts: ~/workspace/push-census/ (repair_lib.py validator port, repair_plan.json, apply_manifest.json, before/after row snapshots).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

bugSomething isn't workingstatus:donetask/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.