Skip to content

test(db): deflake checkpoint busy_writer regression on macOS#962

Draft
ohdearquant wants to merge 6 commits into
mainfrom
fix-845-checkpoint-flake
Draft

test(db): deflake checkpoint busy_writer regression on macOS#962
ohdearquant wants to merge 6 commits into
mainfrom
fix-845-checkpoint-flake

Conversation

@ohdearquant

Copy link
Copy Markdown
Owner

Fixes #845. Test-only change. Local gates deferred to CI due to build-lane contention; codex review follows.

Leo and others added 6 commits July 13, 2026 12:30
Adds a deterministic regression guard around
checkpoint::tests::busy_writer_skips_both_passive_and_truncate.

Fixes #845

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ky tx-age sweep

run_writer_task registers a writer_task_tx handle in the process-wide
tx_registry singleton; the checkpoint tx_age_sweep_* tests read that
singleton under #[serial(tx_registry)]. The writer_task.rs tests that
spawn a writer task were missing from the group, leaking a longer-lived
writer_task_tx into the sweep's oldest() read and intermittently failing
the assertion on main CI. Join them to the serial group. No prod change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flaky: khive-db checkpoint::tests::busy_writer_skips_both_passive_and_truncate on macOS CI

1 participant