drop the leftover matrix sweep references in docs and comments
This commit is contained in:
parent
6dbb18b6d4
commit
bdda69a080
3 changed files with 9 additions and 10 deletions
|
|
@ -642,7 +642,7 @@ async fn substitute(host: &impl Host, name: &str, rev: &str) -> Result<String, L
|
|||
|
||||
/// Profile-swap: re-apply drop-ins (rebuild is the reconcile verb),
|
||||
/// `nixos-container update`, then the post-rebuild bookkeeping tail
|
||||
/// (rev marker, `Rebuilt` event, forge/matrix sync, kick, rescan).
|
||||
/// (rev marker, `Rebuilt` event, forge sync, kick, rescan).
|
||||
/// The recovery-start on failure is NOT here — the DAG's tail
|
||||
/// `Reconcile` runs after this node terminal ok *or* fail.
|
||||
async fn run_swap(
|
||||
|
|
@ -658,7 +658,7 @@ async fn run_swap(
|
|||
let paths = Coordinator::agent_paths(name, agent_dir)?;
|
||||
let rev = host.recorded_rev(name)?;
|
||||
let result = host.swap_update(name, &hive, &paths, &rev, id.get()).await;
|
||||
// On success the Ok-only bookkeeping tail (rev marker, forge/matrix
|
||||
// On success the Ok-only bookkeeping tail (rev marker, forge
|
||||
// sync, kick, rescan, snapshot) runs in the sibling `RebuildBookkeeping` node,
|
||||
// which deps `AfterOk(Swap)`. On failure `RebuildBookkeeping` is cancel-cascaded
|
||||
// and the tail `Reconcile` (`AfterAny(RebuildBookkeeping)`) handles recovery; here
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ async fn main() -> Result<()> {
|
|||
}
|
||||
|
||||
/// One periodic sweep tick. Queues unconditionally; the node's own
|
||||
/// capacity-1 resource dep (`Resource::MatrixSweep` / `KnowledgeTree`) is
|
||||
/// capacity-1 resource dep (`Resource::KnowledgeTree`) is
|
||||
/// what keeps two passes of the same kind from running together, so a tick
|
||||
/// landing while one is live just queues one more pass behind it.
|
||||
fn submit_periodic_sweep(
|
||||
|
|
|
|||
|
|
@ -196,17 +196,17 @@ fn boot_action(wanted: Option<crate::power::Wanted>, fresh: bool, running: bool)
|
|||
}
|
||||
}
|
||||
|
||||
/// Submit the boot-time forge/matrix/knowledge/wanted-state sweeps as DAG
|
||||
/// nodes — `ForgeSweep`, `MatrixSweep`, `KnowledgePull`, `WantedPull`. Unlike
|
||||
/// Submit the boot-time forge/knowledge/wanted-state sweeps as DAG
|
||||
/// nodes — `ForgeSweep`, `KnowledgePull`, `WantedPull`. Unlike
|
||||
/// [`submit_boot_tree`] this runs on **every** boot, quiet or not: these
|
||||
/// aren't config-drift work, they're startup housekeeping that always needs
|
||||
/// to happen, and the point of moving them here is exactly so they show up
|
||||
/// as real work on the dashboard instead of an invisible `tokio::spawn` that
|
||||
/// only surfaces on failure. Four independent, build-slot- and lease-exempt
|
||||
/// only surfaces on failure. Three independent, build-slot- and lease-exempt
|
||||
/// roots — no dependency edges between them, matching the existing
|
||||
/// `Reconcile`-root pattern in [`boot_nodes`]. `MatrixSweep` and
|
||||
/// `KnowledgePull` hold their sweep's own resource, so each queues behind any
|
||||
/// pass of the same sweep already running.
|
||||
/// `Reconcile`-root pattern in [`boot_nodes`]. `KnowledgePull` holds its
|
||||
/// sweep's own resource, so it queues behind any pass of the same sweep
|
||||
/// already running.
|
||||
fn submit_startup_sweep_nodes(coord: &Arc<Coordinator>) {
|
||||
use crate::job_queue::NodeKind;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue