From b6e78e5366b05dac6d3aad7c4008e91e12870a6c Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 30 Sep 2026 04:53:25 +0200 Subject: [PATCH] B2 fix batch: pin the in-memory wait against the attempt's start, not the clock after fifty laps Co-Authored-By: Claude Sonnet 5.5 --- src/control_plane.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/control_plane.rs b/src/control_plane.rs index 333200c..5b295c5 100644 --- a/src/control_plane.rs +++ b/src/control_plane.rs @@ -16985,6 +16985,7 @@ mod tests { routed.world.route_stubs.refuse_reloads()?; routed.drift()?; let before = routed.reloads(); + let began = now_millis()?; break_store_writes(&routed.world); let stored_wait = |routed: &RoutedWorld| -> Result> { Ok(ControlSnapshot::read(&routed.world.state_store)? @@ -17003,7 +17004,7 @@ mod tests { assert_eq!(stored_wait(&routed)?, stored, "the record changed though writes fail"); let due = challenge_due(&routed.world).expect("no in-memory wait after a failed record"); let age = routed.world.engine.options.topology_maximum_age_millis; - assert!(due >= now_millis()? + age / 2, "the wait is not the widening wait: {due}"); + assert!(due >= began + age, "the wait is shorter than one observation age: {due}"); // The wait expiring is the only thing that admits another // attempt, and each one is again a single reload with no