CultLib/packages/cultmesh-ts/test
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 9757ed54a5 cultmesh-ts: a put is refused unless its receipt could be sent
Admission now sizes two replies built from the record the registry
would store: the snapshot reply serving it alone and the receipt
echoing its value under the put's message id with the server's default
provenance, through the one receipt builder the send path uses. A put
whose larger reply exceeds maxPayloadBytes, 65535 fragments or the
reliable queue is refused before onDocumentPutRaw, so a stored put
always gets its receipt when the application stores through the
registry and echoes that value. The existing fallback (a receipt that
cannot be sent all the same reaches onError, and the peer a
cultnet.error.v0) stays for handlers that acknowledge something larger.

The served-bound fixtures carry a long storedAt, which the served record
keeps and the receipt replaces, so they still pin the served bound; a
new test pins the receipt bound: one byte over is refused, exactly at
the limit is stored and receipted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:04:01 +02:00
..
fixtures Add a provenance note for the QUIC test fixtures 2026-09-23 14:46:25 +02:00
interop Extend the Cut 5 interop lane: a late C# native connector gets the TS retained frame 2026-09-23 18:32:39 +02:00
support Add the release() use-after-free regression test (fix 2) 2026-09-23 16:14:42 +02:00
cultmesh.test.ts cultmesh-ts: a put is refused unless its receipt could be sent 2026-09-30 16:04:01 +02:00
provider-rudp-transport.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
provider-session-wire.test.ts Fence provider RUDP connection generations 2026-07-19 00:50:20 +01:00
provider-session.test.ts Add durable TypeScript provider sessions 2026-07-14 23:13:13 +01:00
realtime-quic-consumer.test.ts Bound P8's race so a regression fails by assertion, not a file-wide hang 2026-09-23 19:32:43 +02:00
realtime-quic-native.test.ts Merge the koffi allocation-leak fix into the retention line 2026-09-23 20:06:29 +02:00
realtime-quic-provider.test.ts Fix P17 to actually kill its mutant: check refCount, not connectionCount 2026-09-23 21:43:22 +02:00
realtime-quic-release-uaf.test.ts Add the release() use-after-free regression test (fix 2) 2026-09-23 16:14:42 +02:00
realtime-quic-session-manager.test.ts Add tests for dial cancellation, F5abort and F5loser 2026-09-23 15:53:34 +02:00
realtime-wire.test.ts Stop the realtime decoder handing back a view of its own frame 2026-09-16 20:20:16 +02:00