fabro/lib/components/fabro-workflow/tests/it
Scott Werner 21421dce78 Isolate the shared test blob store between tests
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>
2026-08-24 14:02:35 -04:00
..
attractor_compat.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
cp_integration.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
daytona_integration.rs Simplify blob activation and share the test store fixture 2026-08-24 14:02:35 -04:00
git_integration.rs Merge branch 'main' into feat/shared-checkout-parallel 2026-07-24 06:29:57 -04:00
integration.rs Isolate the shared test blob store between tests 2026-08-24 14:02:35 -04:00
main.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00