fold hive-c0re module tree into the daemon binary + drop dead pub items surfaced by bin-only (#2513)
This commit is contained in:
parent
d04c86e9ac
commit
673aea4e50
15 changed files with 95 additions and 250 deletions
|
|
@ -65,7 +65,6 @@ pub struct Claim {
|
|||
/// it.
|
||||
pub agent: String,
|
||||
pub template: Template,
|
||||
pub source: Source,
|
||||
pub approval_id: Option<i64>,
|
||||
pub inputs: Vec<String>,
|
||||
pub perm_payload: Option<PermPayload>,
|
||||
|
|
@ -330,7 +329,6 @@ impl JobQueue {
|
|||
kind: dag.node(node_id).expect("node").kind.clone(),
|
||||
agent: node_agent,
|
||||
template: dag.template,
|
||||
source: dag.source,
|
||||
approval_id: dag.approval_id,
|
||||
inputs: dag.inputs.clone(),
|
||||
perm_payload: dag.perm_payload.clone(),
|
||||
|
|
|
|||
|
|
@ -112,10 +112,12 @@ pub fn approval_deploy(agent: &str, approval_id: i64, reason: String) -> DagSpec
|
|||
}
|
||||
}
|
||||
|
||||
/// Boot-time reconcile: a single `Reconcile` node that converges observed
|
||||
/// power state to the persisted intent — `wanted` is untouched (no
|
||||
/// `SetWanted`), unlike the operator `start`/`stop` templates. Used only
|
||||
/// by the boot sweep now.
|
||||
/// A single `Reconcile` node that converges observed power state to the
|
||||
/// persisted intent — `wanted` is untouched (no `SetWanted`), unlike the
|
||||
/// operator `start`/`stop` templates. Test-only helper now (used to build
|
||||
/// single-node lifecycle DAGs that exercise per-agent lease serialization
|
||||
/// in the queue tests); production paths no longer emit a bare reconcile.
|
||||
#[cfg(test)]
|
||||
pub fn reconcile_only(
|
||||
template: Template,
|
||||
agent: &str,
|
||||
|
|
|
|||
Loading…
Reference in a new issue