Caching tests: a 1.0.x store with a ref-list slot opens at 2.0 (red); reference gain is the only drift excused
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
0888ce6a71
commit
3e65477f22
3 changed files with 134 additions and 0 deletions
10
tests/vectors/ref-list-drift/README.md
Normal file
10
tests/vectors/ref-list-drift/README.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# ref-list-drift vector
|
||||
|
||||
`old-store.cc` is a `cultcache.store.v1` file in the shape CultLib 1.0.x wrote for a list of record references: the
|
||||
`Items` slot (`CultRecordRef<RefListTarget>[]`) is persisted with `isReference:false` and no target schema, and its
|
||||
payload is an array of key strings. Its layout is copied from a real 1.0.x-written store (Aetheria `run.cc`, schema
|
||||
`aetheria.savedgame`, slots `Zones` and `Factions`), pruned to two schemas and three records: `alpha` and `beta`
|
||||
(`tests.reflist_target`) and `list` (`tests.reflist_holder`, `Items = [alpha, beta]`).
|
||||
|
||||
Hand-written by a script outside the runtime under test; never regenerated by CultCache. A change to this file is a
|
||||
reviewed commit.
|
||||
BIN
tests/vectors/ref-list-drift/old-store.cc
Normal file
BIN
tests/vectors/ref-list-drift/old-store.cc
Normal file
Binary file not shown.
Loading…
Reference in a new issue