Commit graph

13 commits

Author SHA1 Message Date
28a40a2650 chore(ui,agent): harden collector parsing, drop dead CSS, resilver label
Addresses final code review:
- to_int/1 now returns 0 on nil or unparseable strings instead of crashing
- remove unused .pool-row CSS (superseded by .pool-block)
- clamp capacity bar width to [0, 100] to prevent visual overflow
- pool_scrub_line/1 uses scan_function so resilver shows as "resilver..."
2026-04-22 18:06:17 +02:00
dd992573a1 fix(ui): strengthen scrub assertion, cover degraded vdev render path
Addresses code review: differentiate pool_scrub_line/1 FINISHED clause
with the word "finished", test the degraded-vdev callout via a second
DEGRADED pool in the fixture, and replace the generic "scrub" match
with an assertion on the full finished line.
2026-04-22 18:00:13 +02:00
f05c20ed0b feat(ui): detailed per-pool block with type, capacity bar, scrub state 2026-04-22 17:55:07 +02:00
579d7fc6e8 feat(server): public GET /health endpoint for uptime monitors
Returns 200 with {status: ok, version, db: ok} when SQLite is reachable,
503 when the DB probe fails. Unauthenticated so external monitors can
poll without credentials.
2026-04-22 08:48:14 +02:00
2f787ec31f chore(server): remove unused page_controller scaffold — / is now OverviewLive 2026-04-21 22:56:25 +02:00
667fd7160c feat(server): admin LiveView for host registration, rotate, delete 2026-04-21 22:55:29 +02:00
94034eea9b feat(server): vm search LiveView with name+IP filtering 2026-04-21 22:54:47 +02:00
d65832964e feat(server): host detail LiveView with metrics/pools/snapshots/storage/vms 2026-04-21 22:53:57 +02:00
d0507f290e feat(server): overview LiveView with status ampel + pubsub updates 2026-04-21 22:52:40 +02:00
30b507ba6b feat(server): GET /api/hosts/:name returns latest fast/medium/slow samples 2026-04-21 22:30:35 +02:00
751e035579 feat(server): channel persists fast/medium/slow samples to metrics table 2026-04-21 22:28:36 +02:00
61595e0293 feat(server): host channel with token auth and metric events 2026-04-21 22:04:31 +02:00
b85d05afc8 feat(server): phoenix 1.7 scaffold with sqlite + liveview 2026-04-21 22:00:43 +02:00