fabro/lib/components/fabro-store/src
Scott Werner 19aa5940ea Add a shared RunSpec test fixture and adopt it
`RunSpec` has 13 fields and no `Default`, so every test that needed one
spelled out all 13 even when it cared about one or two. That put 64
hand-rolled `RunSpec { .. }` literals in `lib/`, and made a single
additive field cost a mechanical edit at roughly 30 sites.

Add `test_run_spec()` to `fabro-types`' feature-gated `test_support`
module: fixed `fixtures::RUN_1`, default settings, a minimal `test`
graph, `test_run_provenance()`, and every optional field unset. Tests
now spread it and only spell out what they assert on.

Adopt it at the 13 literals where the spread removes real duplication,
including the crate-local `test_run_spec` helpers in `fabro-store` and
`fabro-workflow`, which are now defined in terms of the shared fixture.
Tests that populate every field on purpose — the exhaustive `RunSpec`
serde round-trip in particular — keep spelling it out.

No production code and no behavior changes.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 16:50:37 -04:00
..
record Rename RunBlobId to BlobHash 2026-08-12 11:33:41 -04:00
slate Add SQLite blob store foundation 2026-08-18 17:41:29 -04:00
test_support fabro(01KYQMV1VW6139EGNHEM1RGF2G): simplify_sol (succeeded) 2026-07-30 00:22:06 +00:00
artifact_store.rs refactor: simplify artifact ZIP download 2026-08-01 09:09:54 -04:00
blob_store.rs Cover missing SQLite blob reads 2026-08-18 17:43:22 -04:00
error.rs Add SQLite blob store foundation 2026-08-18 17:41:29 -04:00
keyed_mutex.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
keys.rs Share one blob store across run handles 2026-08-10 15:32:47 -04:00
lib.rs Add SQLite blob store foundation 2026-08-18 17:41:29 -04:00
run_sessions.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
run_state.rs Add a shared RunSpec test fixture and adopt it 2026-08-19 16:50:37 -04:00
run_summary_store.rs fabro(01KYQMV1VW6139EGNHEM1RGF2G): simplify_sol (succeeded) 2026-07-30 00:22:06 +00:00
serializable_projection.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
types.rs fabro(01KYQMV1VW6139EGNHEM1RGF2G): implement (succeeded) 2026-07-29 20:35:54 +00:00