Add gated agent update planning, preserved handoff and Linux worker ports
Rust development slice / linux (push) Failing after 6s
Rust development slice / linux (push) Failing after 6s
This commit is contained in:
@@ -613,6 +613,7 @@ pub fn map_snapshot(s: &Snapshot) -> HelperSnapshot {
|
||||
.attempts
|
||||
.iter()
|
||||
.map(|a| SyncAttempt {
|
||||
update_handoff_bytes: a.update_handoff_bytes.clone(),
|
||||
job_id: a.job_id.to_string(),
|
||||
attempt_id: a.attempt_id.to_string(),
|
||||
job_payload_hash: a.job_payload_hash.clone(),
|
||||
@@ -874,6 +875,7 @@ mod tests {
|
||||
);
|
||||
// Pure mirror-binding negatives, not a signature/OS authentication proof.
|
||||
let permit = rmm_domain::jobs::ExecutionPermitPayload {
|
||||
agent_update_plan_id: None,
|
||||
domain: "rmm.execution-permit".into(),
|
||||
schema_version: 1,
|
||||
grant_id: id,
|
||||
@@ -900,6 +902,7 @@ mod tests {
|
||||
.unwrap();
|
||||
let bytes = rmm_domain::reconciliation::canonical_outcome_bytes(&canonical).unwrap();
|
||||
let row = rmm_agent_core::helper_reconcile::LocalAttempt {
|
||||
update_handoff_bytes: Vec::new(),
|
||||
job_id: id,
|
||||
attempt_id: id,
|
||||
job_payload_hash: permit.job_payload_hash.clone(),
|
||||
|
||||
Reference in New Issue
Block a user