From 05881ea8d89a818cdc8f05d26d7d0e4d9874ef17 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 30 Sep 2026 04:31:48 +0200 Subject: [PATCH] B2 fix batch: say a failed challenge record once, not once per temp file name The store error chain carries a fresh temp file name per attempt, so the report-once key never matched twice. Report the root cause. Co-Authored-By: Claude Sonnet 5.5 --- src/control_plane.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/control_plane.rs b/src/control_plane.rs index a95e987..37ecc9a 100644 --- a/src/control_plane.rs +++ b/src/control_plane.rs @@ -5905,8 +5905,11 @@ impl Engine { self.report_once( &record_key, format!( - "Idunn could not record the {recorded} route challenge of {}: {record:#}", - current.value.target + "Idunn could not record the {recorded} route challenge of {}: {}", + current.value.target, + // The root cause only: the error chain names a fresh temp file each + // attempt, which would defeat once-per-fault. + record.root_cause() ), ); Ok(false)