Commit graph CultLib/tests/GameCult.Caching.Tests/UpdateTests.cs
Author SHA1 Message Date
Libby
d3edf80ed3 Caching tests: pin the variant refusal message and ReadDurable leaving the store view alone; start TwoWriters rounds together
Some checks failed
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Failing after 20m27s
The directory race test no longer collided once each attempt reads fresh, so each round
now starts both writers at a barrier.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 16:06:57 +00:00
Libby
a020247fcc Caching: Update reads its version and copy from one durable read of the home store
Add CacheBackingStore.ReadDurable (single-file and directory stores), factor the
directory pull's lease/retry load into LoadManifestPages, and make a store-backed
Update take apply's argument and the Expected version from that read, with the load's
deterministic element ids. The per-loss pull moves to the LostRace branch; a
store-less cache keeps the held copy and its codec refusal.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 16:00:55 +00:00
3d333e8466 Caching: CultCache.Update, update-with-retry as the golden-path write (golden-path-write-api) (#168) 2026-11-13 15:40:35 +00:00