cultcache-rs: refuse a unique-index write into a moved store (cut-rs-stale-write-gate) #182

Merged
eureka merged 12 commits from hands/rs-stale-write-gate into main 2026-11-27 20:15:11 +00:00
Owner

A Rust write of a type with a unique index is refused when the store changed since this cache last read it; the cache reloads and reports CultCacheWriteConflict (with reload_failed()), as C#'s RefuseWriteIntoMovedStore does. Gated on single-file, transient redb and owned redb stores.

Spec cultlib-gaps:cut_spec:cut-rs-stale-write-gate.r1; reports h1, h2; Soul s1 and s2 hold (C# parity, a barrier race with one winner every round on all three stores, every mutant caught). Also closes the four test gaps deferred from cut-rs-redb-one-record-per-key (#181). No Rust CI job triggers for cultcache-rs; evidence is the Yggdrasil runs in the reports and verdicts.

🤖 Generated with Claude Code

A Rust write of a type with a unique index is refused when the store changed since this cache last read it; the cache reloads and reports `CultCacheWriteConflict` (with `reload_failed()`), as C#'s RefuseWriteIntoMovedStore does. Gated on single-file, transient redb and owned redb stores. Spec `cultlib-gaps:cut_spec:cut-rs-stale-write-gate.r1`; reports h1, h2; Soul s1 and s2 hold (C# parity, a barrier race with one winner every round on all three stores, every mutant caught). Also closes the four test gaps deferred from cut-rs-redb-one-record-per-key (#181). No Rust CI job triggers for cultcache-rs; evidence is the Yggdrasil runs in the reports and verdicts. 🤖 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>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Merge origin/main (#181 squash) into hands/rs-stale-write-gate
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 34m55s
c7bc1bacb0
#181's head 02cc7312 and main ba1f0a4c hold identical lib.rs and CHANGELOG.md, so the branch's side is main plus the stale gate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
eureka merged commit e503edf2b0 into main 2026-11-27 20:15:11 +00:00
eureka deleted branch hands/rs-stale-write-gate 2026-11-27 20:15:11 +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!182
No description provided.