mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-14 22:06:16 +00:00
Post-merge review of #105921 flagged a synchronization race: the restart fault fired before the pre-restart tail live event was guaranteed to reach the gateway, making the replay trace assertion timing-dependent. Pin the pre-restart prefix with vi.waitFor and assert the lost-window invariants (resync replay renumbered from the fresh ack state) instead of the exact retry trace, which legitimately varies with the ack/teardown race. 5x stable locally.