hyperhive/hive-c0re/src/dashboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 9c1cfafeb5 refactor(hive-c0re): one producer for the readiness verdict
`get_health_ready` computed "degraded iff any warning is crit" inline and
wrapped it in a private `ReadyBody`. The swarm status publisher needs the
same verdict, and the warnings module's own doc already states why it must
not compute its own: two systems independently deciding what counts as
unhealthy is how they end up disagreeing.

The disagreement would also be silent. Each side would look internally
consistent, and the day a second degraded condition is added to one of
them, the dashboard and the swarm view would report different things about
the same host with nothing to flag it.

`warnings::readiness()` is now the single producer and `Readiness` the
single type. `ReadyBody` is deleted rather than made public: the endpoint
keeps the part that genuinely is its own, the mapping onto an HTTP status
code, and serves the shared document as its body.
2026-08-16 13:12:59 +02:00
..
approvals.rs hive-sh4re: split approval-queue schema into its own topic module 2026-08-10 23:05:18 +02:00
build_logs.rs docs: stop asserting DagView/NodeView after their deletion 2026-08-03 21:47:58 +02:00
extra_forges.rs hive-c0re: drop redundant METHOD/path prefixes from OpenAPI summaries 2026-08-02 21:35:17 +02:00
health.rs refactor(hive-c0re): one producer for the readiness verdict 2026-08-16 13:12:59 +02:00
infra_containers.rs docs(gateway): describe what is, not what changed 2026-08-11 18:09:51 +02:00
journal.rs docs(gateway): describe what is, not what changed 2026-08-11 18:09:51 +02:00
lifecycle_ops.rs refactor(#2916): destroy submits a DAG instead of an imperative teardown 2026-08-14 00:24:45 +02:00
matrix_accounts.rs hive-c0re: drop redundant METHOD/path prefixes from OpenAPI summaries 2026-08-02 21:35:17 +02:00
meta_inputs.rs wip(#3001): catch the multi-line .insert( chains the grep missed 2026-08-04 19:57:32 +02:00
misc_api.rs hive-c0re: replace json! with typed structs in dashboard handlers 2026-08-13 18:12:35 +02:00
mod.rs jobq: a generic per-state roll-up, served beside the graph 2026-08-03 20:37:06 +02:00
permissions.rs hive-sh4re: split tool-group + capability enums into their own topic module 2026-08-10 23:05:18 +02:00
questions.rs hive-sh4re: split manager-socket constants + HelperEvent into their own topic module 2026-08-10 23:05:18 +02:00
schedules.rs hive-c0re: replace json! with typed structs in dashboard handlers 2026-08-13 18:12:35 +02:00
state_files.rs hive-c0re: drop redundant METHOD/path prefixes from OpenAPI summaries 2026-08-02 21:35:17 +02:00
state_snapshot.rs hive-c0re: remove dashboard peer-hives wiring (hyperhive#3294) 2026-08-15 19:55:29 +02:00
tombstones.rs fix(#3020): K3PT ST4T3 says what it shows, and stops reading the job graph 2026-08-03 18:07:04 +02:00
topology.rs wip(#3001): catch the multi-line .insert( chains the grep missed 2026-08-04 19:57:32 +02:00
webhook.rs hive-sh4re: split approval-queue schema into its own topic module 2026-08-10 23:05:18 +02:00