Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-c0re/src/job_queue
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
..
exec.rs hive-c0re: hive warnings reach the operator as metrics and alerts, not a banner 2026-10-21 17:52:53 +02:00
mod.rs hive-c0re re-converges wanted state whenever its watch attaches 2026-10-21 09:22:10 +02:00
model.rs agent permissions: one set, tool groups included, set at agent creation 2026-10-15 18:01:40 +02:00
power.rs start: log an unreadable applied-rev marker instead of silently treating it as stale 2026-10-16 15:24:40 +02:00
resource.rs hive-c0re: serialise the matrix and knowledge sweeps through the job queue 2026-09-27 20:15:55 +02:00
scheduler.rs hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
templates.rs agent permissions: one set, tool groups included, set at agent creation 2026-10-15 18:01:40 +02:00
tests.rs hive-c0re re-converges wanted state whenever its watch attaches 2026-10-21 09:22:10 +02:00