CultLib/packages/cultmesh-ts/test
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 8b8f8436cc cultmesh-ts: a snapshot refusal carries fixed text and acknowledges nothing
The snapshot fallback sent the caught error's message to the peer, and
errors from getCache or the registry went the same way, so a message the
application or a peer supplied could reach the wire. Its ack fields also
covered the refused request. The snapshot path now refuses per case with
fixed text (the snapshot source failed / the snapshot response is too
large / the snapshot response could not be queued) through refuse(),
which sends unreliable and unordered, so it needs no room in a full
queue, with ack fields that acknowledge nothing, as every runtime's
refusal does. onError keeps the detail.

Tests, with a raw peer that acknowledges nothing: a queue of 8 filled
exactly by an unacknowledged 8-fragment reply, then a refusal that still
arrives and acknowledges nothing; and a getCache failure carrying a
canary, refused with "the snapshot source failed".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 23:06:03 +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 snapshot refusal carries fixed text and acknowledges nothing 2026-09-30 23:06:03 +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
rudp-document-server-send-failure.test.ts Pin the reset before a refusal's goodbye (cultmesh-ts, cultmesh-py) and C#'s once-guard 2026-09-30 16:02:27 +02:00