Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-c0re/src/dashboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 8ce265fdf0 jobq: a transient is any running node naming the agent
Per mara on #2822: status is the only test. The agent comes off the
node's own payload rather than a declared Resource::Agent edge, so the
lease-exempt kinds (Prebuild, MetaSync) that name an agent without
holding its lease now light a pill — they are work on that agent.

Dropping that test breaks the one-pill-per-agent invariant, since
lease-exemption is exactly what lets one DAG build for an agent while
another holds its lease. Everything keyed by agent alone had to follow:

- reconcile_transients keys (agent, label) via TransientSeen, so a
  second pill cannot evict the first — and cannot lose its
  takes_container_down, which the crash watcher reads at clear time.
- transient_snapshot returns a Vec per agent for the same reason. The
  collapse was silent: a Prebuild could evict a StopForUpdate and its
  deliberate_stop, making an intentional stop report as a crash.
- crash_watch asks whether ANY running node expects the container down.
- the dashboard renders one row per node instead of one per agent.

takes_container_down never reached the frontend; no wire change needed.

315 tests pass unchanged.
2026-08-03 14:43:19 +02:00
..
approvals.rs hive-c0re: drop redundant METHOD/path prefixes from OpenAPI summaries 2026-08-02 21:35:17 +02:00
build_logs.rs refactor(#2949): the build-log row carries its node id 2026-08-02 22:00:34 +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 hive-c0re: drop redundant METHOD/path prefixes from OpenAPI summaries 2026-08-02 21:35:17 +02:00
infra_containers.rs hive-c0re: drop redundant METHOD/path prefixes from OpenAPI summaries 2026-08-02 21:35:17 +02:00
journal.rs hive-c0re: drop redundant METHOD/path prefixes from OpenAPI summaries 2026-08-02 21:35:17 +02:00
lifecycle_ops.rs hive-c0re: drop redundant METHOD/path prefixes from OpenAPI summaries 2026-08-02 21:35:17 +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 hive-c0re: split OpenAPI summary/description, move param docs to params 2026-08-02 21:35:17 +02:00
misc_api.rs hive-c0re: drop redundant METHOD/path prefixes from OpenAPI summaries 2026-08-02 21:35:17 +02:00
mod.rs c0re: serve the jobq graph generically at /api/jobq/graph 2026-08-03 00:39:14 +02:00
permissions.rs hive-c0re: drop redundant METHOD/path prefixes from OpenAPI summaries 2026-08-02 21:35:17 +02:00
questions.rs hive-c0re: drop redundant METHOD/path prefixes from OpenAPI summaries 2026-08-02 21:35:17 +02:00
schedules.rs hive-c0re: drop redundant METHOD/path prefixes from OpenAPI summaries 2026-08-02 21:35:17 +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 jobq: a transient is any running node naming the agent 2026-08-03 14:43:19 +02:00
tombstones.rs jobq: a transient is any running node naming the agent 2026-08-03 14:43:19 +02:00
topology.rs hive-c0re: drop redundant METHOD/path prefixes from OpenAPI summaries 2026-08-02 21:35:17 +02:00
webhook.rs hive-c0re: split OpenAPI summary/description, move param docs to params 2026-08-02 21:35:17 +02:00