The "failed replacement cancellation preserves an autonomous running state" test deleted its storage directory while the snapshot write for the "running" state could still be in flight. Under CI load that write lands during rmSync and fails the test with ENOTEMPTY. Flush the manager and storage first, as the neighbouring cleanup tests do. Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>