Skip to content

fleet placement: session actor hardcoded, timeout_minutes never sent, registry budgets unenforced #13178

Open

Description

@dezren39

Found while surveying placement for the fleet book (#13165). Three behaviour gaps between the surface registry / workflow contract and the placement engine:

  1. Session records hardcode the actor as developing-today[bot] (GitHub App dispatch) although fleet-org, fleet-forks, and Blacksmith surfaces dispatch as the user — records misattribute who dispatched.
  2. Placement never sends the timeout_minutes input that fleet-command.yml accepts: every dispatch is capped at the workflow default (60 min) regardless of the job, and dispatch_id is a fresh correlation id rather than the placement session handle, which makes records harder to join.
  3. Registry fields are declared but never enforced: plan / private_minutes_monthly, the Codespaces 180 core-hour budget, and max_live: 3.

Fix shape: record the real dispatching identity per surface auth route; thread an explicit timeout through placement (with a documented default); either enforce the registry budgets or mark the fields advisory in the registry schema so readers don't trust them.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions