hyperhive/hive-c0re/src/stats
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris f378f842ea forge: wire ensure_all() boot-warn sites to the dashboard banner
Adds set_boot_warning() to stats/warnings.rs: a one-shot variant of
set_warning() for steps that run once at hive-c0re boot (no periodic
retry to observe a later success and clear the banner via WarningGuard
drop). It forgets the guard, leaking it for the life of the process —
the banner clears on the next hive-c0re restart, which is also when a
config/environment fix would take effect.

Wires every remaining tracing::warn!()-and-forget site in
forge::ensure_all() to also raise a boot warning: core user/token
provisioning, per-org seeding, the operators-team grant per org, the
core/meta repo, shared docs repo, knowledge repo (+ its local clone),
both avatar uploads, and the final nixos-container list failure.

Split the core_token.is_some() body of ensure_all() into a new
ensure_all_orgs_and_repos() helper to stay under clippy's
function-length limit.

Deliberately out of scope: sync_agent() (shared with rebuild_agent(),
different blast radius) and ci_runner::ensure_ci_runner_registered()
(its own retry logic) — matrix::ensure_all() got the same slice-by-
slice treatment.
2026-07-17 13:15:47 +02:00
..
container_stats.rs feat(#2007): export per-agent container cpu/mem/disk via otel 2026-07-15 22:51:31 +02:00
hive_stats.rs refactor(#2464): rename hive-ag3nt crate to hive-agent, collapse lib into main 2026-07-15 16:09:39 +02:00
host_stats.rs feat(#2289): push-based server-warning registry with RAII guard 2026-07-10 13:52:59 +02:00
mod.rs feat(#2007): export per-agent container cpu/mem/disk via otel 2026-07-15 22:51:31 +02:00
otel_metrics.rs feat(#2007): export per-agent container cpu/mem/disk via otel 2026-07-15 22:51:31 +02:00
sweep_health.rs fold hive-c0re module tree into the daemon binary + drop dead pub items surfaced by bin-only (#2513) 2026-07-16 10:43:08 +02:00
warnings.rs forge: wire ensure_all() boot-warn sites to the dashboard banner 2026-07-17 13:15:47 +02:00