Repository navigation
Closed
Labels
Description
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
The Console's Inbox shows the whole Fleet.
- Inside the Console, a poller fetches each live fleet entry every 15 seconds, only while at least one page subscription is open, through the fetch-and-merge path from the previous Ticket. It keeps each machine's last good answer and last error in memory only, and writes nothing to disk. The interval can be shortened for tests only, as other Console timings are.
- Every Inbox group merges every machine's rows, each tagged with its machine. Each machine shows how old its rows are. After 60 seconds without a good answer, a machine shows as unreachable with its last rows greyed. A refused token or a too-old thirdshift shows as such, with a link to that machine's Console.
- The tab title's "need you" count and browser notifications include fleet machines' Needs you rows. The active-run count shows the Fleet total, with a per-machine breakdown.
- A
machinequery parameter filters the Inbox to one machine, kept in the URL. Without it, every machine shows. - One bad machine never breaks or slows the page.
- The merged Inbox stays readable at phone width.
Acceptance criteria
- Two-Console test: with a page subscription open, the caller's Inbox shows the other machine's fixture rows tagged by machine within one (test-shortened) interval, and the tab title count includes a remote Needs you row.
- With no page open, no fetches are made (asserted through the other Console's request count or log).
- Stopping the other Console turns its rows grey and marks it unreachable after the threshold. A revoked token shows "refused".
-
?machine=<name>filters to that machine, and its absence shows all. - Nothing from the other machine is written under the caller's home.
- A site browser test checks the merged Inbox at phone width with machine tags.
- The hand-written site pages describe the Console showing its Fleet where they describe it as one machine's page.
Activity
JacobStephens2 commentedon Nov 6, 2026
Closed by #1826, merged into issue-1142 by a thirdshift Ticket run with Self-merge.