CultLib/packages/cultnet-ts/test
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 0c5207b55f One typed owner of document-payload reads and writes: DocumentPayload is opaque, the definition is required
DocumentPayload is an opaque object type over the same runtime Uint8Array, keyed by a string
property, and types CultCacheEnvelope.payload, CultNetRawDocumentRecord.payload and
CultMeshRealtimeFrame.payload. decodeDocumentPayload(definition, payload) and
encodeDocumentPayload(definition, value) are the only reader and writer; documentPayloadFromBytes
and documentPayloadBytes are the two named escapes at the edges where bytes enter and leave.
resolveDocumentFormatter leaves the package index. The cache, cultnet replication, the mesh read
paths, the provider command (now a CultCache document), and the browser's decodeCultNetPayload
(definition required, cultcache-ts/document entry) all go through the owner.

Compile-fail fixtures per payload-carrying package pin the type with expect-error lines.
check-typescript-tests-wired.mjs fails when a test file is run by no script; cultcache-ts now
runs dist-test/test/*.test.js, and the portability workflow runs the check and the cache suite.

Builds in every package (tsc, src and tests); the suites run once, at the end of the pass.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 19:33:42 +02:00
..
fixtures Idunn runtime fixture generator takes its specification as input 2026-09-29 04:30:40 +02:00
interop Interop harness: ask cargo where the Rust peer is, and name missing prerequisites 2026-09-30 20:19:44 +02:00
cultmesh-authority.test.ts Say what the eleven stricter endpoint spellings actually are 2026-09-16 20:21:42 +02:00
cultnet.test.ts cultnet-ts: an operation handler's result belongs to the generation its request arrived on 2026-09-30 15:54:33 +02:00
idunn-runtime-authority.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
replication-codec.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
rudp-connect-generation.test.ts Ack Cut 1d batch 2 (TypeScript): an Ack does not retire a Connect awaiting its Accept; the fresh attempt jumps by the receive window less one 2026-09-30 09:53:06 +02:00
rudp-ordered-delivery.test.ts Ack Cut 1 tests: three held frames, the Rust byte bound, reset reseeds 2026-09-30 00:20:04 +02:00
rudp-send-failure.test.ts cultnet-ts: pin the one-fragment size check with a large fragment too 2026-09-30 20:19:36 +02:00
rudp-session-ending.test.ts Ack Cut 1b tests: an ending does not forget what the peer sent 2026-09-30 00:24:19 +02:00
runtime-presence-health.test.ts cultnet-ts: one UTF-8 byte bound for presence and daemon health detail 2026-09-29 01:19:41 +02:00
signed-daemon-health.test.ts cultnet-ts: one UTF-8 byte bound for presence and daemon health detail 2026-09-29 01:19:41 +02:00