mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-15 04:21:44 +00:00
test_blob_store was a process-wide OnceLock singleton over one in-memory SQLite connection, so content-addressed rows written by one test were visible to every other test in the same process. nextest's process-per-test model masked the bleed, but plain cargo test failed (8/24 in fabro-workflow-version) because negative existence assertions became order-dependent. test_blob_store now builds a fresh isolated in-memory store per call, and test_database gives every database its own blob authority. Reopen-style tests that model one durable blob authority across several store handles use the new test_blob_store_at, which keeps the blob table in a SQLite file beside the store directory, plus test_database_with_blobs to share it explicitly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| it | ||
| materialize_run.rs | ||