cultcache-rs: redb stores hold one record per key (cut-rs-redb-one-record-per-key) #181

Merged
eureka merged 3 commits from hands/rs-redb-one-record-per-key into main 2026-11-27 20:14:14 +00:00
Owner

Both Rust redb stores refuse, inside the write transaction, a write that would put a second type at a key another writer already holds (retype_conflict, as the single-file store).

Spec cultlib-gaps:cut_spec:cut-rs-redb-one-record-per-key.r1, report h1, Soul cultlib-gaps:verdict:cut-rs-redb-one-record-per-key.s1: holds; 150-round thread race gives one winner every round; 9 of 10 mutants caught. Four Low test-coverage findings are deferred to the next cut (cut-rs-stale-write-gate). Three existing tests that wrote two types at one key were rewritten (two-type stores are now refused by design). Clippy -D warnings fails with the same 9 errors on main and on this branch, none in new code.

🤖 Generated with Claude Code

Both Rust redb stores refuse, inside the write transaction, a write that would put a second type at a key another writer already holds (`retype_conflict`, as the single-file store). Spec `cultlib-gaps:cut_spec:cut-rs-redb-one-record-per-key.r1`, report h1, Soul `cultlib-gaps:verdict:cut-rs-redb-one-record-per-key.s1`: holds; 150-round thread race gives one winner every round; 9 of 10 mutants caught. Four Low test-coverage findings are deferred to the next cut (cut-rs-stale-write-gate). Three existing tests that wrote two types at one key were rewritten (two-type stores are now refused by design). Clippy `-D warnings` fails with the same 9 errors on main and on this branch, none in new code. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
cultcache-rs: tests that built two types at one redb key now build them directly or use distinct keys
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 40m19s
02cc731227
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
eureka merged commit ba1f0a4cfd into main 2026-11-27 20:14:14 +00:00
eureka deleted branch hands/rs-redb-one-record-per-key 2026-11-27 20:14:15 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/CultLib!181
No description provided.