From b83944da8daa576b4a88fbb0fb1ec53f99aa427a Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 18 Jul 2026 21:22:50 +0100 Subject: [PATCH] Preserve Bifrost deployment admission semantics --- crates/idunn-daemon/src/main.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/crates/idunn-daemon/src/main.rs b/crates/idunn-daemon/src/main.rs index f1797d0..ff1f77b 100644 --- a/crates/idunn-daemon/src/main.rs +++ b/crates/idunn-daemon/src/main.rs @@ -6088,13 +6088,10 @@ mod tests { observed_at: "unix:100".to_string(), }; let health = missing_daemon_published_health(target, &desired, "unix:101"); - assert_eq!(health.state, "stale-deployment"); + assert_eq!(health.state, "dependency-unavailable"); let plan = plan_keepalive(&desired, &health, "unix:102"); - assert_eq!(plan.decision.action, "deploy"); - assert_eq!( - plan.deployment_request.expect("deployment request").command, - target.deploy_command.clone().expect("deploy command") - ); + assert_ne!(plan.decision.action, "deploy"); + assert!(plan.deployment_request.is_none()); assert!(plan.restart_request.is_none()); }