hyperhive/hive-c0re/src/job_queue
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 1739716fa2 feat(#2448): emit one multi-agent DAG for hivectl restart / restart-all
A hive-wide restart was N separate single-agent DAGs (one submit::restart
per agent). Now that agent is per-node (#2445), make it ONE DAG with a
per-agent restart subgraph each.

- templates::restart takes an agent list: each agent gets an independent
  subgraph (a head SetWanted(Up) root, then its restart chain), so the N
  subgraphs run concurrently on their own leases. One agent = the ordinary
  single-agent restart; unifies the old restart + graceful_restart fns.
- submit::restart / graceful_restart stay as single-agent wrappers over
  the new submit::restart_many(agents, graceful).
- server.rs handle_restart_all + handle_restart_scoped submit one
  restart_many call instead of looping per agent. Infra containers
  unchanged (no lease/DAG, synchronous).

Scope: restart + restart-all only. Broad stop+start is the same pattern
(stop/start templates take agent lists) — a follow-up increment.
2026-07-14 23:11:02 +02:00
..
exec.rs refactor(#2449): write power intent via a SetWanted DAG node, not a pre-submit side effect 2026-07-14 22:34:44 +02:00
mod.rs refactor(#2441): move agent field from DAG onto Node; drop dedup 2026-07-14 21:58:40 +02:00
model.rs refactor(#2449): write power intent via a SetWanted DAG node, not a pre-submit side effect 2026-07-14 22:34:44 +02:00
scheduler.rs refactor(#2441): move agent field from DAG onto Node; drop dedup 2026-07-14 21:58:40 +02:00
submit.rs feat(#2448): emit one multi-agent DAG for hivectl restart / restart-all 2026-07-14 23:11:02 +02:00
templates.rs feat(#2448): emit one multi-agent DAG for hivectl restart / restart-all 2026-07-14 23:11:02 +02:00
tests.rs refactor(#2449): write power intent via a SetWanted DAG node, not a pre-submit side effect 2026-07-14 22:34:44 +02:00