CultLib/packages/cultcache-ts/test
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 289d7f7d49 cultcache-ts: pin the default write path's sync and close order, and a directory at the lock path failing fast
The default StoreFileOps were never observed. One test now wraps fs/promises.open and each handle's
sync and close, and records the store's bytes at every call: the staged file is synced and closed
while the store still holds its old bytes, and on Unix the directory is synced and closed after the
store changed. A second test puts a directory at <store>.lock and requires the lock to fail within
3 s with the lock path named, under the default 30 s wait bound.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 16:42:24 +02:00
..
cult-cache.test.ts cultcache-ts: cross-runtime store lock tests against the C# and Rust peers 2026-10-20 14:51:48 +02:00
decode-document-payload.test.ts One typed owner of document-payload reads and writes: DocumentPayload is opaque, the definition is required 2026-10-11 19:33:42 +02:00
payload-depth.test.ts cultcache-ts: previewPayload reads through decodeBoundedPayload (the inspector's one walk site); the map32 and array32 counts are pinned above 65535 2026-10-12 01:50:05 +02:00
payload-type.test.ts One typed owner of document-payload reads and writes: DocumentPayload is opaque, the definition is required 2026-10-11 19:33:42 +02:00
store-file.test.ts cultcache-ts: pin the default write path's sync and close order, and a directory at the lock path failing fast 2026-10-20 16:42:24 +02:00
union-parity.test.ts Caching and cultcache-ts tests: slot-nil rows for a four-byte UTF-8 character in a string slot and in a byte[] slot 2026-10-12 00:08:23 +02:00