You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stabilize Windows reset-preflight database snapshot test #1223
The current master Windows Agent run failed store::lifecycle::tests::refused_reset_preflight_never_publishes_intent_or_retires_source at the raw main-database byte comparison: 641 passed, 1 failed, 3 ignored.
The fixture snapshots the main database while its background WAL checkpointer is active. The assertion output shows a plaintext database growing from 4,096 bytes / 1 page to 237,568 bytes / 58 pages, with schema cookie 0 → 41. This strongly fits already-committed WAL frames being checkpointed between snapshots. Source confirms the foreign-file refusal happens before reset intent, handle closure or generation retirement. This failure does not establish production database corruption.
The fix is already included in PR #1222: stop and join the fixture's existing checkpoint worker before taking the baseline. SQL handles, key and store state remain open. Production SQL behavior is unchanged; no sleeps, retries or assertions were removed.
All original checks remain, including raw-byte equality, unchanged state/generation, no reset intent or retirement artifacts, foreign-file integrity and cold-reopen account survival. The original failing iteration did not reach the later cold-reopen assertions.
Activity