Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-c0re/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 5c5c8776d2 refactor(#2802): cancelling a DAG is a scheduler operation
`JobQueue::cancel` decided whether a DAG could be cancelled by reading node
run-state, walked the subtree, judged per node whether that node had asked
to observe cancellation, and re-ran the container's roll-up. Every one of
those is a fact the scheduler owns; core was reaching across the boundary
to compute them.

`Scheduler::cancel_node` now takes the whole subtree: cancelling a node
cancels the work under it, since a group is abandoned by abandoning its
root. The existing method generalises rather than gaining a sibling — it
had one production caller, which this replaces.

The gate runs over the work *under* the node, not the node itself: a group
root's state is its subtree's roll-up rather than a step that ran, so a
container is `Finishing` and never `Pending`, and gating on it would refuse
every cancel. A node with no children is its own work, which keeps the
previous single-node behaviour.

`observes_cancellation` moves in with it — it reads a node's declared edges
and knows nothing about what the payload means.

Core keeps the one genuinely domain-specific step, resolving a wire
`dag_id` to its container node, and is three lines otherwise.
2026-07-27 21:27:17 +02:00
..
agent_config feat: derive BUN_JSC_forceRAMSize from effective per-agent MemoryMax= 2026-07-26 21:56:25 +02:00
dashboard refactor(#2756): replace the DAG terminal hook with real tail nodes 2026-07-27 15:06:27 +02:00
forge docs: describe the deploy subtree 2026-07-25 22:55:02 +02:00
job_queue refactor(#2802): cancelling a DAG is a scheduler operation 2026-07-27 21:27:17 +02:00
lifecycle refactor(#2754): make the container weights Option, not a 0 sentinel 2026-07-27 10:55:29 +02:00
socket_server docs: describe the deploy subtree 2026-07-25 22:55:02 +02:00
stats feat: per-agent CPU and memory limits 2026-07-26 14:15:05 +02:00
stores delete c0re-side reminder plumbing (#2635 inc 1 commit 6) 2026-07-23 00:12:30 +02:00
workers hivectl: add agent <name> watch to follow live events from the CLI 2026-07-27 21:04:00 +02:00
actions.rs feat(#2772): branch on outcome in the graph, not inside the node 2026-07-27 19:06:27 +02:00
container_view.rs resource_limits: read the override map once per SSE scan 2026-07-26 14:56:36 +02:00
coordinator.rs refactor(#2693): null, not "", for the unpinned claude-code 2026-07-27 13:56:28 +02:00
dashboard_events.rs delete c0re-side reminder plumbing (#2635 inc 1 commit 6) 2026-07-23 00:12:30 +02:00
gateway_nginx.rs sweep: wire gateway-nginx reload + config-repo branch-protection into warning banners 2026-07-16 00:05:29 +02:00
loose_ends.rs feat(#2635): wire harness-local questions mirror (inc2 pt2) 2026-07-26 02:07:33 +02:00
main.rs refactor(#2754): make the container weights Option, not a 0 sentinel 2026-07-27 10:55:29 +02:00
matrix.rs refactor(#2302): type socket wire fields as ident, validated by serde on deserialize 2026-07-20 21:46:18 +02:00
meta.rs refactor(#2693): null, not "", for the unpinned claude-code 2026-07-27 13:56:28 +02:00
migrate.rs refactor(#2302): type socket wire fields as ident, validated by serde on deserialize 2026-07-20 21:46:18 +02:00
paths.rs hivectl: add agent <name> watch to follow live events from the CLI 2026-07-27 21:04:00 +02:00
priv_client.rs refactor(#2754): make the container weights Option, not a 0 sentinel 2026-07-27 10:55:29 +02:00
questions.rs delete c0re-side reminder plumbing (#2635 inc 1 commit 6) 2026-07-23 00:12:30 +02:00
server.rs hivectl: rename hivectl agents to hivectl agent <name> <verb> 2026-07-27 19:07:18 +02:00
webhook_secret.rs chore(#2510): bump indicatif/tower-http/hmac/sha2 to latest majors 2026-07-16 10:42:30 +02:00