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 — queue(fleet-queue): claim stamp reads session model (route alias) instead of serving leaf route_usage.lastServing (from PR #9025) · Issue #9408 · developing-today/code

queue(fleet-queue): claim stamp reads session model (route alias) instead of serving leaf route_usage.lastServing (from PR #9025) #9408

New issue
Copy link
New issue
Copy link
Closed
#9751
Closed
queue(fleet-queue): claim stamp reads session model (route alias) instead of serving leaf route_usage.lastServing (from PR #9025)#9408
#9751
Copy link
Assignees
dezren39
Labels
app/fleetpkgs/fleet multicall binary + platform crateseffort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/pr-comment-reviewFiled by the pr-comment-review jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

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

Finding (from PR review, never addressed)

The #8176 claim-model stamp derives from the session's model field — for routed sessions that is the configured route alias (e.g. opencode-route/workhorse), not the provider/model/effort that actually served the claim — so routed claims permanently record the route alias and lose serving-leaf attribution.

Codex (P2) on PR #9025, pkgs/fleet/crates/fleet-queue/src/client.rs:1358 at review:

"Derive the stamp from the serving leaf rather than the route. For routed sessions such as opencode-route/workhorse, the session's model identifies the configured route, not the provider/model/effort that actually served the claim. Reading this field therefore permanently records the route alias and loses the serving-leaf attribution required by doc/fleet/queue-turso-cutover.md and pm-stack/opencode-claimant/prompt.md, which explicitly distinguishes route_usage.lastServing from the declared route. The new Python collection stamps have the same problem because they record the future session's route before it has served anything. Use the actual serving-leaf readout when available and leave the claim unstamped otherwise."

Evidence

  • Source PR: fix(queue): make the #8176 claim-model stamp land on the real claim paths #9025 "fix(queue): make the queue: stamp the claiming session's own model on the task at claim time #8176 claim-model stamp land on the real claim paths" — fix(queue): make the #8176 claim-model stamp land on the real claim paths #9025 (merged)
  • Comment: fix(queue): make the #8176 claim-model stamp land on the real claim paths #9025 (comment) — reviewer chatgpt-codex-connector[bot], 2026-11-12T20:58:11Z, file pkgs/fleet/crates/fleet-queue/src/client.rs:1358

No-response evidence

  • The review thread is unresolved (GraphQL reviewThreads re-read 2026-11-13) and the Codex comment is the thread's only comment — no reply from the author or any maintainer.
  • PR fix(queue): make the #8176 claim-model stamp land on the real claim paths #9025 was merged with this derivation unchanged; no follow-up commit on main has switched the stamp to the serving-leaf readout (verified by a fresh read of client.rs on main, 2026-11-13).
  • No existing issue covers this finding (searched open and closed issues for PR fix(queue): make the #8176 claim-model stamp land on the real claim paths #9025 and claim-stamp/serving-leaf keywords on 2026-11-13; only the parent issue queue: stamp the claiming session's own model on the task at claim time #8176 and unrelated items matched — queue: stamp the claiming session's own model on the task at claim time #8176 does not cover the route-alias defect).

Still live on current main (verified 2026-11-13 by the pr-comment-review job)

  • pkgs/fleet/crates/fleet-queue/src/client.rs on main: session_model_stamp (around lines 1349-1377) reads only the session record's model field (providerID + id, optional variant). There is no code read of route_usage / lastServing anywhere in the file — those names appear only in comments (around lines 1305-1306 and 2304-2305) asserting the stamp names the serving leaf.
  • derive_claim_model_stamp therefore stamps the declared/route model for routed sessions, exactly as the comment describes.

Acceptance criteria

  • The claim stamp is derived from the actual serving-leaf readout (route_usage.lastServing) when available, and the claim is left unstamped otherwise — routed sessions no longer record the route alias as their serving model.
  • Or: resolve by a documented decision on this issue explaining why the session model field is an acceptable serving-leaf source for routed sessions.

Filed by the pr-comment-review job from an unaddressed PR review comment (source: PR #9025). This issue deliberately does not reply to or resolve the source review thread.

Activity

Next
  1. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    queue/queuedHas a queued queue task
    source/pr-comment-reviewFiled by the pr-comment-review job
    app/fleetpkgs/fleet multicall binary + platform crates
    on Nov 13, 2026
  2. developing-today commented on Nov 13, 2026

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

    CODE-3043

  3. dezren39 commented on Nov 13, 2026

    @dezren39
    dezren39
    on Nov 13, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: pr-comment-review job
    • Session / ID: pr-comment-review cron run 2026-11-13 03:54 CST (2026-11-13T09:59:53Z)
    • Found via: unaddressed PR comment — fix(queue): make the #8176 claim-model stamp land on the real claim paths #9025 (comment)
    • Task: Triage the Codex P2 finding from PR fix(queue): make the #8176 claim-model stamp land on the real claim paths #9025, validated still live on main by the filing run
    • Expectation: effort s — triage verifies the finding against current main, then fixes or resolves by documented decision
    • Links: source PR fix(queue): make the #8176 claim-model stamp land on the real claim paths #9025; queue packet enqueued on repo-health-code-pilot (kind triage)
  4. github-actions
    assigned
    dezren39
    on Nov 13, 2026
  5. dezren39 commented on Nov 13, 2026

    @dezren39
    dezren39
    on Nov 13, 2026
    MemberAuthor
    More actions

    Picked up by repo-worker-code-a — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-code-a posts progress markers; after 30 minutes of silence any other worker may pick this up.)

  6. dezren39
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 13, 2026
  7. 29 remaining items

  8. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged

    • Agent: queue worker (repo-worker-code), lane code-d
    • Session / ID: task 15872
    • Found via: queue claim
    • Task: Inline triage of issue queue(fleet-queue): claim stamp reads session model (route alias) instead of serving leaf route_usage.lastServing (from PR #9025) #9408 (task 15872, kind triage): the existing labels are confirmed correct — kind/bug, task/small-fix, priority/normal, effort/s, source/pr-comment-review. The defect is verified live this shift, stronger than the packet states: on the deployed OpenCode server, routed session records carry model {id: workhorse, providerID: opencode-route, variant: default} and NO route_usage/lastServing field anywhere on the record (keys and metadata checked 2026-11-14), so session_model_stamp in pkgs/fleet/crates/fleet-queue/src/client.rs stamps the route alias for every routed claim and the serving leaf is unrecoverable from that surface today. Fix in this same claim: session_model_stamp prefers a route_usage.lastServing readout when the record carries one (providerID/modelID/variant, opencode#1891 shape), and leaves the claim unstamped when the model sits under the opencode-route provider instead of recording the alias; direct (non-routed) sessions stamp as before. Acceptance check: new unit oracles for the routed-with-readout, routed-without-readout, and direct cases; cargo tests green.
    • Expectation: effort/s; done looks like one merged PR against pkgs/fleet/crates/fleet-queue/src/client.rs plus this triage.
    • Links: issue queue(fleet-queue): claim stamp reads session model (route alias) instead of serving leaf route_usage.lastServing (from PR #9025) #9408, PR fix(queue): make the #8176 claim-model stamp land on the real claim paths #9025, issue queue: stamp the claiming session's own model on the task at claim time #8176
  9. dezren39
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 14, 2026
  10. developing-today
    added
    status:in-review
    on Nov 14, 2026
  11. dezren39
    added a commit that references this issue on Nov 14, 2026

    fix(fleet-queue): claim stamp names the serving leaf, never the route…

    4a07f2b
  12. dezren39
    closed this as completedin #9751on Nov 14, 2026
  13. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 14, 2026
  14. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane code-d
    • Session / ID: task 15872
    • Found via: queue claim
    • Task: Issue queue(fleet-queue): claim stamp reads session model (route alias) instead of serving leaf route_usage.lastServing (from PR #9025) #9408 fixed and merged: PR fix(fleet-queue): claim stamp names the serving leaf, never the route alias (#9408) #9751 squash-merged as 4a07f2b. session_model_stamp now stamps the route_usage.lastServing leaf when the session record carries the readout, and leaves routed claims unstamped instead of recording the opencode-route alias; direct sessions are unchanged. cargo test -p fleet-queue --features client,queue-broker: 306 passed, 0 failed. Task 15872 completed as fixed_merged. Clerical correction: the queue completion record's merge_sha field carries a placeholder string from the completing command; the authoritative merge SHA is the one in this note and on PR fix(fleet-queue): claim stamp names the serving leaf, never the route alias (#9408) #9751 (4a07f2b).
    • Expectation: Done. Routed claims stay unstamped until the OpenCode server exposes the route_usage readout on the session record (opencode#1891 surface); when it does, the derivation picks it up with no further client change.
    • Links: issue queue(fleet-queue): claim stamp reads session model (route alias) instead of serving leaf route_usage.lastServing (from PR #9025) #9408, PR fix(fleet-queue): claim stamp names the serving leaf, never the route alias (#9408) #9751, PR fix(queue): make the #8176 claim-model stamp land on the real claim paths #9025, issue queue: stamp the claiming session's own model on the task at claim time #8176
  15. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 14, 2026
  16. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Agent note — already fixed and merged; task 16375 closed as superseded (lane code-c)

    • Fresh verification 2026-11-14T05:14Z: the Codex P2 from PR fix(queue): make the #8176 claim-model stamp land on the real claim paths #9025 (claim stamp must derive from the serving leaf route_usage.lastServing, not the session route alias) is fixed on main by commit 4a07f2b — "fix(fleet-queue): claim stamp names the serving leaf, never the route alias (queue(fleet-queue): claim stamp reads session model (route alias) instead of serving leaf route_usage.lastServing (from PR #9025) #9408)" via PR fix(fleet-queue): claim stamp names the serving leaf, never the route alias (#9408) #9751.
    • pkgs/fleet/crates/fleet-queue/src/client.rs on current main reads route_usage.lastServing (providerID + modelID) for the stamp and leaves the claim unstamped when no readout exists — exactly the finding's prescription.
    • Issue queue(fleet-queue): claim stamp reads session model (route alias) instead of serving leaf route_usage.lastServing (from PR #9025) #9408 was already CLOSED with status:done; stale claim labels from the earlier claim (queue/claimed, status/in-progress, work/assigned) removed by this lane.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/fleetpkgs/fleet multicall binary + platform crateseffort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/pr-comment-reviewFiled by the pr-comment-review jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

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.