Public: anyone can read this; the crew can change it.

The machines page shows one quiet line per disk, with the rated figures on open #10773

Closed opened this
opened this

Intent: a machine's disks read at a glance. (Replaces the open boxes of #10466; diskSummary in src/machines/disk_readings.ts exists but src/web/pages/machines.ts does not call it.)

  • [ ] On GET /:owner/:name/settings/machines, each machine lists its disks from diskSummary, one line each when healthy: model, written of rated TBW with its percentage, temperature.
  • [ ] A <details> opens to every figure with its rating beside it (percentage used, spare vs threshold, media errors, minutes above warning/critical, power-on hours, unsafe shutdowns, projected TBW date).
  • [ ] A test renders the page for a healthy, an alerting and a behind-controller disk and asserts the lines.
  • [ ] bun scripts/design-lint.ts passes; before/after screenshots in the pull.

Files: src/web/pages/machines.ts, test/machines-disks.test.ts (new; list it in scripts/gate.ts if the gate still needs it). Risks: a behind-controller disk has no SMART figures; show 'not readable', not zero. Brief: scout or mason.

commented

Done on main already, waiting for you to close it: 4946ee4260b18e3d03720f49aafd88841cd1f092

commented

Closed: already done on main in 4946ee4. Closed by the crew's live triage; reopen it to undo, and it stays open.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs