Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/frontend/packages/shared/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 4dbcf6fa80 hive-c0re: hive warnings reach the operator as metrics and alerts, not a banner
The dashboard's top-of-page warning banner is gone. The warning registry
stays, because /health/ready, the swarm status view and the OTEL gauges
read it. What it feeds is now alerted on in Grafana:

- hyperhive.hive.warning{kind,level}: one series per raised warning, so an
  alert names the cause. Raising a warning also logs one `hive warning
  raised` line with the message.
- hyperhive.hive.nix_store.utilization: the used fraction of the nix
  store's filesystem, probed in the gauge callback.
- Alerts: hh-hive-degraded on the existing degraded gauge, hh-hive-warning
  per kind (disk excluded), hh-host-disk-high at 85% and
  hh-host-disk-critical at 95%.
- pending_logins is now a registry warning, refreshed from the container
  rescan, so it reaches the per-kind gauge.

Frontend: server_warnings leaves the state snapshot, and the dashboard,
flow and stats pages keep only the sticky chrome wrapper. The shared
hive-warn and WarnBanner components stay, since other views use them.

A module-eval case checks each alert's metric name against the exporter's
source, so a rename on either side fails the build.
2026-10-21 17:52:53 +02:00
..
api-error-panel treefmt: apply prettier 2026-09-02 15:25:07 +02:00
badge shared/badge: give interactive badges a real pill radius, not a roundrect 2026-09-11 22:45:36 +02:00
dropdown docs, comments: drop references to the removed model/effort picker 2026-10-11 01:54:23 +02:00
hive-btn treefmt: apply prettier 2026-09-02 15:25:07 +02:00
hive-dialog dashboard: drop the approvals queue 2026-10-04 23:55:32 +02:00
hive-menu dashboard: the SW4RM tab is the agents tab 2026-10-15 09:50:49 +02:00
hive-toast treefmt: apply prettier 2026-09-02 15:25:07 +02:00
hive-warn dashboard: fix stale core.js comment refs and a doubled word in the gateway comment 2026-10-16 20:02:28 +02:00
jobq-graph treefmt: apply prettier 2026-09-02 15:25:07 +02:00
jobq-rollup dashboard: the SW4RM tab is the agents tab 2026-10-15 09:50:49 +02:00
settings swarm-ui: a hide debug output toggle in the header's settings menu 2026-10-12 21:41:23 +02:00
side-panel docs: retire the stray top-level web-ui.md, fold it into web-ui/README.md 2026-09-07 15:49:52 +02:00
tabs shared: drop the removed core page from the tab-strip comment 2026-10-16 20:02:28 +02:00
terminal swarm-ui: a hide debug output toggle in the header's settings menu 2026-10-12 21:41:23 +02:00
warn-banner treefmt: apply prettier 2026-09-02 15:25:07 +02:00
api-error.ts github swarm bao: address argus review on #4892 2026-10-02 17:54:45 +02:00
base.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
chrome.css hive-c0re: hive warnings reach the operator as metrics and alerts, not a banner 2026-10-21 17:52:53 +02:00
colors.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00
dom.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
forms.js dashboard: drop the approvals queue 2026-10-04 23:55:32 +02:00
icons.tsx swarm-ui: full-tab agent terminal (#4506) 2026-09-28 23:17:44 +02:00
index.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
modal.js dashboard: drop the approvals queue 2026-10-04 23:55:32 +02:00
pill.css frontend: unify pill/chip/badge shape into shared CSS 2026-08-12 19:25:45 +02:00
prefs.ts swarm-ui: a hide debug output toggle in the header's settings menu 2026-10-12 21:41:23 +02:00
shadow-css.js treefmt: apply prettier 2026-09-02 15:25:07 +02:00
theme.css treefmt: apply prettier 2026-09-02 15:25:07 +02:00