Skip to content

Fleet: thirdshift status shows the Fleet #1762

Closed

Description

@JacobStephens2

This was generated by AI during triage.

Parent

#1142 (Spec: the Fleet in the Console). Built on #1753 (the Console API), released by #1760. Governing decision: ADR 0026.

What to build

thirdshift status shows the whole Fleet, the way the Console will.

  • For each live fleet entry, status calls that machine's /api/v1 Inbox with the blocking client, with a short timeout per machine, and merges its rows into the same Inbox groups as the local rows, each tagged with its machine. Fetch-and-merge is one path that the Console's poller will reuse in the next Ticket.
  • Rows keep the owning machine's own grouping as returned. The active-run count is the Fleet's total, with a per-machine breakdown.
  • status --json carries each Command's machine (the hostname status --json already has) and a per-machine section with when it was fetched, its reachability (ok, unreachable, refused, needs update) and any error. The JSON version number goes up.
  • --machine <name> scopes status to one machine. The local machine's own name behaves like no flag.
  • A slow or failing machine never fails status. It's reported in its own section, and the rest prints.
  • Other-account Commands on a fleet machine come through tagged with machine and account, as that machine returns them.

Acceptance criteria

  • Two-Console test: after pairing, status --json on the caller lists both machines' fixture Commands, tagged by machine, in the right groups, with a per-machine section showing ok.
  • Stopping the other Console makes status finish within the timeout and report it unreachable. A revoked token reports refused. A 404 stand-in reports needs update.
  • status --machine <other> shows only that machine's rows, and --machine <self> matches plain status.
  • Human-readable status tags rows with their machine once a Fleet exists, and shows the per-machine active-run breakdown.
  • docs/guide.md describes status across the Fleet and --machine.

Activity

  1. added
    enhancement
    ready-for-agent
    on Nov 5, 2026
  2. JacobStephens2 commented on Nov 6, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Closed by #1816, merged into issue-1142.

  3. removed
    ready-for-agent
    on Nov 10, 2026
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions