fabro/lib/apps/fabro-server
Scott Werner b56aee570c Pass the SQLite pool directly to the legacy blob import and verification
import_legacy_blobs_into and verify_legacy_blobs_in took a &BlobStore and
extracted its pool through sqlite_pool_for_legacy_import, an Option that
was statically always Some in production (the None arm existed only for
the test-only Slate backend). That accessor forced a clippy
unnecessary_wraps suppression and two WrongTargetBackend error variants
no production caller could ever hit, and the activation path round-tripped
a pool it already owned through a BlobStore it had just built.

Both functions now take &SqlitePool, deleting the accessor, the
suppression, both unreachable variants, and their rejection test.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-24 14:02:35 -04:00
..
migrations refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
src Pass the SQLite pool directly to the legacy blob import and verification 2026-08-24 14:02:35 -04:00
tests Simplify blob activation and share the test store fixture 2026-08-24 14:02:35 -04:00
build.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
Cargo.toml Forward fabro-store/test-support through dependent test-support features 2026-08-24 14:02:35 -04:00