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-place: carry a unique dispatch_id through org-run/fleet-run for exact run correlation · Issue #8371 · developing-today/code

fleet-place: carry a unique dispatch_id through org-run/fleet-run for exact run correlation #8371

New issue
Copy link
New issue
Copy link
Closed
#11228
Closed
fleet-place: carry a unique dispatch_id through org-run/fleet-run for exact run correlation#8371
#11228
Copy link
Assignees
dezren39
Labels
effort/mMedium: expected under 1 day of workepic/fleet-orchestrationReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

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

Problem

fleet-place (repo-queue placement dispatch, PR #8325 for #5413) correlates a workflow dispatch with the Actions run it created by snapshot exclusion: it records the workflow run ids that exist before submitting, then attaches the earliest run that appears after. That fixes attaching an earlier run, but two dispatches POSTed in the same instant whose runs appear in the same poll window cannot be proven apart (Codex P1 finding on PR #8325, thread r4531401135, dispositioned with this residual).

Fix

Carry a unique dispatch identifier through the workflow and match on it:

  • Add a dispatch_id workflow_dispatch input to .github/workflows/org-run.yml (developing-today/code) and to fleet-run.yml (dezren39/fleet), and surface it via run-name: (e.g. run-name: org-run ${{ inputs.dispatch_id }}) so the runs list API returns it as the run display title.
  • In dispatch_workflow (pkgs/fleet/crates/fleet-queue/src/placement.rs), generate the fp_ handle (or a dispatch nonce) before dispatch, pass it as the dispatch_id input when the workflow supports it, and prefer a run whose display title carries the id; keep snapshot exclusion as the fallback for workflows without the input.

Acceptance

  • A dispatch can be correlated to exactly its own run even when another dispatch of the same workflow lands in the same poll window, proven by a test with interleaved runs.
  • Workflows without the input keep working via the snapshot fallback.

Activity

  1. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    on Nov 11, 2026
  2. developing-today commented on Nov 11, 2026

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

    CODE-2501

  3. dezren39
    added
    epic/fleet-orchestrationReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  4. github-actions
    assigned
    dezren39
    on Nov 12, 2026
  5. dezren39
    added
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    kind/featureNew feature or capability request
    on Nov 17, 2026
  6. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged (inline triage — real, precisely scoped; fix routed to task 20133)

    • Agent: queue worker (repo-worker-code), lane any-c
    • Session / ID: task 18646
    • Found via: queue claim (bulk-intake triage packet, 2026-11-16)

    Triage verdict (fresh, 2026-11-17, via gh + tree read):

    • Issue fleet-place: carry a unique dispatch_id through org-run/fleet-run for exact run correlation #8371 is OPEN and untriaged (labels were only task/small-fix, epic/fleet-orchestration). No hard-stop labels (held, user/owned, do-not-merge, do-not-auto-edit).
    • Work kind: small-fix (stands). Priority: normal. Effort: m. Labels applied this pass: priority/normal, effort/m, kind/feature.
    • Real and current, verified in the tree this shift: pkgs/fleet/crates/fleet-queue/src/placement.rs dispatch_workflow (~line 740) still correlates by snapshot exclusion, and its own comments (~line 753) name this exact residual — a unique id carried through is the fix, snapshot exclusion the fallback. .github/workflows/org-run.yml is present as the issue describes. This is the dispositioned Codex P1 residual from PR feat(fleet-queue): absorb fleet placement dispatch + sessions into repo-queue (#5413) #8325.
    • First concrete step: add the dispatch_id input + run-name: surfacing to org-run.yml, then teach dispatch_workflow to generate the id, pass it, and prefer the display-title match.
    • Acceptance check: the issue's own — interleaved same-window dispatches correlate exactly (test), and workflows without the input still work via the snapshot fallback (test).

    Routing: scoped fix packet queued as task 20133 (small_fix, 45 min; scope includes the matching fleet-run.yml change in dezren39/fleet as a separate small PR). Task 18646 completes as triaged naming it. Issue #8371 stays open for the fix.

  7. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 17, 2026
  8. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up (task 20133)

    • Agent: queue worker (repo-worker-code), lane any-m
    • Session / ID: task 20133
    • Found via: queue claim (unfiltered, one-queue)

    Revalidated fresh: issue #8371 OPEN, labels kind/feature, task/small-fix, priority/normal, effort/m, epic/fleet-orchestration — no hard-stop labels. PR #8325 MERGED (the Codex P1 residual this fixes). Next: laptop worktree, implement dispatch_id in org-run.yml + placement.rs, interleaved-runs test, plus fleet-run.yml in dezren39/fleet.

  9. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up (task 20133)

    • Agent: queue worker (repo-worker-code), lane any-m
    • Session / ID: task 20133
    • Found via: queue claim (unfiltered, one-queue)

    Revalidated fresh: issue #8371 OPEN, labels kind/feature, task/small-fix, priority/normal, effort/m, epic/fleet-orchestration — no hard-stop labels. PR #8325 MERGED (the Codex P1 residual this fixes). Next: laptop worktree, implement dispatch_id in org-run.yml + placement.rs, interleaved-runs test, plus fleet-run.yml in dezren39/fleet.

  10. developing-today
    added
    status:in-review
    on Nov 17, 2026
  11. dezren39
    added a commit that references this issue on Nov 17, 2026

    Merge pull request #11228 from developing-today/queue/20133-8371-disp…

    0e50dc6
  12. dezren39
    closed this as completedin #11228on Nov 17, 2026
  13. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 17, 2026
  14. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (task 20133, fixed_merged)

    • Agent: queue worker (repo-worker-code), lane any-m
    • Session / ID: task 20133

    Outcome: exact dispatch_id run correlation implemented and merged; issue #8371 auto-closed by the code PR.

    • dezren39/fleet PR Bump github/codeql-action from 2 to 3 #91 (merged first, so the input existed before fleet-place sends it; merge 38b193c85b): fleet-run.yml gains the optional dispatch_id input in both workflow_dispatch and workflow_call forms, plus run-name: "fleet-run ${{ inputs.dispatch_id }}".
    • developing-today/code PR fleet-place: exact dispatch_id run correlation (#8371) #11228 (merge 0e50dc6): org-run.yml gains the same input + run-name; placement.rs generates a fresh fp_ dispatch_id per dispatch only for surfaces flagged dispatch_id_input in fleet-surfaces.json (org-run + fleet-personal), sends it as a top-level input, and correlate_run matches the run whose display_title carries the id — snapshot exclusion retained verbatim as the fallback for unflagged workflows.
    • Tests: cargo test -p fleet-queue --all-features on the laptop — 397 passed, 0 failed, including new dispatch_id_correlates_exactly_with_interleaved_runs (a foreign same-window run created earlier is not attached), dispatch_id_with_only_a_foreign_run_stays_unresolved, and correlate_run_fallback_and_id_match. Both workflow files validated as YAML.
    • Reviews: Codex review could not run (Codex usage limits reached — its summary comment records the failed run, no findings, zero inline comments); CodeRabbit likewise rate-limited with no findings. Merged under standing authority on the local verification above.
    • Note: the pickup note for this task posted twice (comments 6945294022 and 6945294099) — a gh-post retry raced its own first attempt's delayed success. Harmless duplication, recorded here for the audit trail.
  15. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

effort/mMedium: expected under 1 day of workepic/fleet-orchestrationReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)status: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.