Caching: Update reads version and copy from one durable store read (update-copy-from-stored-bytes) #170
Loading…
Reference in a new issue
No description provided.
Delete branch "golden-write/update-from-stored-bytes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CultCache.Update reads its version and its apply input from one durable read of the record's home store (new internal CacheBackingStore.ReadDurable), never from the held instance, so an in-place mutation of a held object can no longer be persisted by Update. A store-less cache keeps the held copy. The per-loss pull is replaced by one pull before LostRace.
Spec
variants:cut_spec:cut-update-from-stored-bytes.r1, reportvariants:cut_report:cut-update-from-stored-bytes.h1, follow-upvariants:follow_up:update-copy-from-stored-bytes. Consumer-side test in GameCult.Caching.OutsideStoreTests.🤖 Generated with Claude Code