Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-c0re/src/job_queue
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 05f84191fb jobq: split RebuildOpts into two rebuild entry points
RebuildOpts held one real parameter (relock) and one single-call-site
flag (graceful). The struct justified itself as swap-protection for two
positional bools; with graceful out of the signature there is nothing
left to swap.

graceful stays an internal switch rather than moving to the caller: it
re-parents the stop root (StopForUpdate goes from part_of(prebuild) to
part_of(signal)) rather than prepending nodes, so a caller could only
declare it by being handed the subtree's internals — and that nesting
keeps the agent lease continuous across the whole stop.

run_meta_lock no longer returns options: both fields were a pure
function of the sweep flag its caller had just passed in.

315 tests pass unchanged.
2026-08-03 09:16:09 +02:00
..
exec.rs jobq: split RebuildOpts into two rebuild entry points 2026-08-03 09:16:09 +02:00
mod.rs jobq: read DAG metadata off the container payload, drop DagMeta 2026-08-03 01:42:27 +02:00
model.rs jobq: templates swallow the DagSpec layer 2026-08-03 01:36:04 +02:00
resource.rs jobq-wire: move the generic graph projection into its own crate 2026-08-03 00:39:14 +02:00
scheduler.rs jobq: complete is the completion, and failure grows nothing 2026-08-02 22:00:34 +02:00
submit.rs jobq: split RebuildOpts into two rebuild entry points 2026-08-03 09:16:09 +02:00
templates.rs jobq: split RebuildOpts into two rebuild entry points 2026-08-03 09:16:09 +02:00
tests.rs jobq: split RebuildOpts into two rebuild entry points 2026-08-03 09:16:09 +02:00