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 — Absorb fleet placement into repo-queue: dispatch + session commands (spec = docs/placement.md in developing-today/fleet) · Issue #5413 · developing-today/code

Absorb fleet placement into repo-queue: dispatch + session commands (spec = docs/placement.md in developing-today/fleet) #5413

New issue
Copy link
New issue
Copy link
Closed
Closed
Absorb fleet placement into repo-queue: dispatch + session commands (spec = docs/placement.md in developing-today/fleet)#5413
Copy link
Assignees
dezren39
Labels
area/infraInfrastructure, deployment, and operationseffort/mMedium: expected under 1 day of workepic/fleet-toolEpic: fleet-tool - all issues of this effort carry itkind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
Milestone
Fleet tool - one door, one binary

Description

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

What

The fleet's placement capability — deciding WHERE a build job runs
across the fleet's GitHub Actions copies and runner providers, and
dispatching it there — currently exists as a reference
implementation in the org fork of the fleet umbrella:

  • Spec + frozen client interface: docs/placement.md in
    developing-today/fleet (branch fleet-place, commit 1258ed8;
    lands on the fork's main once the fork is added to this app's
    installation — see below).
  • Reference implementation: tools/fleet-place + the data registry
    tools/fleet-surfaces.json in the same repo.

Drew's direction (2026-11-04): this capability belongs in the binary
clients already use — repo-queue — so lane workers and Muse
clients trigger jobs in the appropriate location through one
interface, with sessions that outlive the client (reconnect by
handle). The crates are being refactored in another line of work
today; this issue is the absorption spec so that work inherits the
architecture instead of redesigning it. Do not treat the Python
dispatcher as the destination.

The contract to implement (from placement.md, frozen v1)

repo-queue dispatch --repo developing-today/code \
  --command 'nix build .#mcpx' [--ref SHA] \
  [--runner auto|github|blacksmith] [--surface ID] \
  [--push-nix-cache] [--actions-cache KEY:PATH] \
  [--allow-paid-blacksmith MINUTES]
# -> session handle (fp_...), chosen surface, reasoning

repo-queue session status HANDLE    # mapped state + run URL
repo-queue session result HANDLE    # terminal result
repo-queue session list [--mine]

Non-negotiables:

  1. Registry as data. Surfaces live in tools/fleet-surfaces.json
    (id, kind, owner, repo, workflow, app installation, capacity /
    budget posture, eligibility). Adding a location = adding an
    entry (+ app installation + a fleet copy). The binary reads the
    same registry format; no surface is ever hardcoded.
  2. Adapters per placement kind. github-actions dispatch,
    blacksmith (runner variant, org-only, budgeted), codespace
    (session handoff, last resort), laptop (recorded handoff) —
    each behind eligible/capacity/dispatch/status. A new placement
    type = a new adapter + a kind value; dispatch/session logic
    untouched.
  3. App-only dispatch. Every dispatch mints an installation
    token for the host repo's owner through the fleet-paperwork
    flow (App private key from the sops secrets file). Both
    installations (org 174792676, personal 175747567). No user-token
    path; a surface the app cannot reach is ineligible, loudly.
  4. Sessions server-side. Handle = fp_ + 128-bit random.
    Record: payload, surface + why, run id/URL, submitter, state,
    timestamps. DDL for agent.placement_sessions is in
    placement.md (the Python stopgap is a local JSON store with
    identical semantics — migrate records, don't redesign them).
  5. Spill cascade. GitHub-hosted capacity per owner (live
    running+queued vs plan cap) → Blacksmith inside its free
    3,000 min/mo budget (paid only via explicit per-job allowance or
    the registry's paid cap) → Codespaces when Actions is tapped and
    the laptop is saturated → otherwise the job stays queued in
    repo-queue. Nothing is dropped for lack of a surface.
  6. Caching passthrough. fleet-run jobs may carry per-entry
    cache options (nix closure → fleet R2 cache via the existing
    signing machinery; actions/cache for non-nix artifacts). The
    dispatch command exposes them as flags, unchanged.

Proof state of the reference implementation (2026-11-04)

  • Dry-run cascade verified, incl. simulated spill to Blacksmith and
    the all-tapped → queued outcome.
  • Real dispatch as the app: session fp_5ccf1d4ca63f4ca0939fd909345bd9ad,
    run https://github.com/dezren39/fleet/actions/runs/41819899125
    (triggering actor developing-today[bot]), pin-check job read
    back to succeeded via the session handle.

Blockers that also gate this

  • developing-today/fleet is not yet in this app's installation
    scope (org-owner grant pending) — the reference branch waits on
    it to push.
  • org-run (this repo) is pre-registered as a surface; when it lands,
    flip its registry status and give it the runner input for
    Blacksmith parity (small follow-up PR, noted in placement.md).

Unassigned on purpose; pick up with the queue refactor.

Acceptance criteria

  • fleet placement (dispatch + session commands per docs/placement.md in developing-today/fleet) is absorbed into repo-queue.
  • No regression: existing tests/checks for the touched area remain green, and the change lands via PR referencing this issue.
  • Evidence (PR link, test/CI output, or verification note) is posted on this issue before it is closed.

Activity

Next
  1. developing-today
    added
    area/infraInfrastructure, deployment, and operations
    kind/infrastructureInfrastructure / host-portability work
    on Nov 4, 2026
  2. dezren39
    added
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    status/needs-triageNot yet triaged; needs a first look
    on Nov 4, 2026
  3. dezren39 commented on Nov 4, 2026

    @dezren39
    dezren39
    on Nov 4, 2026
    Member
    More actions

    Intake review

    🤖 Agent note · state: filed

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-04 06:12 CST
    • Found via: monitor reconciliation
    • Task: Intake enrichment (protocol §5): verified still live in a bounded check this run (no merged PR or closed duplicate naming this fix), appended acceptance criteria, normalized labels.
    • Expectation: as labelled (effort class on the issue); done = acceptance criteria met with evidence linked here.

    Related: epic #5412 and steps #5429-#5433 form one set; #5413 is a sibling absorption task. Native sub-issue attachment per protocol §11 is recommended for the epic if not already done.
    Risks: Low for the intake pass itself; implementation risk lives in the issue body.
    Suggested approach: Triage through the queue in dependency order, verifying each step's acceptance evidence before closing.

  4. dezren39
    added
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 4, 2026
  5. github-actions
    assigned
    dezren39
    on Nov 4, 2026
  6. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  7. 264 remaining items

    Load more actions
  8. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/claimedQueue worker lifecycle state
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 11, 2026
  9. dezren39
    added a commit that references this issue on Nov 11, 2026

    feat(fleet-queue): absorb fleet placement dispatch + sessions into re…

    e7ee828
  10. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 11, 2026
  11. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    Member
    More actions

    state: done (task 13226, lane code-l)

    PR #8325 merged as e7ee828: fleet placement dispatch + sessions absorbed into repo-queue per the frozen placement spec (registry-as-data, per-kind adapters, spill cascade, App-only dispatch, fp_ durable sessions, frozen CLI). Rounds 1-3 of Codex/CodeRabbit findings were dispositioned in the PR threads by the earlier lanes; the last undispositioned Codex P2 (pinned Blacksmith surface bypassing the budget) was fixed in 592d1af5b6 — eligible() now enforces remaining budget for pinned surfaces, with the regression test pinned_blacksmith_budget_spent_is_ineligible — and replied on its thread (comment 4533697134). Verification after merging current main: cargo test -p fleet-queue --all-features — 227 pass, 0 fail. PR basic checks remained QUEUED in the runner backlog; laptop test run is the verification. Closing as complete.

  12. dezren39
    closed this as completedon Nov 11, 2026
  13. dezren39
    added
    epic/fleet-toolEpic: fleet-tool - all issues of this effort carry it
    on Nov 12, 2026
  14. dezren39
    added this to the Fleet tool - one door, one binary milestone on Nov 12, 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

area/infraInfrastructure, deployment, and operationseffort/mMedium: expected under 1 day of workepic/fleet-toolEpic: fleet-tool - all issues of this effort carry itkind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    • Fleet tool - one door, one binaryNo due date

    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.