From bff308aea781817e44a935c38ce2d26e0ddbf47e Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 19 Oct 2026 18:39:32 +0200 Subject: [PATCH] Cut c2c: expire's refusal names its reason without reading the deadline predicate Co-Authored-By: Claude Opus 5.5 --- src/control_plane.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control_plane.rs b/src/control_plane.rs index f750257..ad06ea9 100644 --- a/src/control_plane.rs +++ b/src/control_plane.rs @@ -3138,7 +3138,7 @@ fn expire(store_path: &Path, command_id: &str, requested_by: &str) -> Result<()> ensure!( current.value.expirable(), "{}", - if current.value.resolves_by_deadline() { + if current.value.command_kind == CommandKind::Continuity && current.value.phase >= DeploymentPhase::Fencing && current.value.post_fencing_abort.is_none() { "a continuity past Fencing retries forward and cannot be expired; to restart it, stop its candidate unit and Idunn aborts it as dead" } else { "only a live transaction in Warming through Committing, and not already aborting, can be expired; before Warming, use idunn cancel"