CultLib/packages/cultnet-ts/test
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens de8e2e1b88 cultnet-ts: an operation server's send failure belongs to the generation that sent it
A permanent failure reported after that generation ended (the client
connected again from the same endpoint) ended the generation that replaced
it and said goodbye to the new client. The callback now acts only while the
generation that sent the datagram is live, which is the one in `sessions`.

That makes two guards unreachable, so they are deleted: `peer.unsendable`
before the goodbye (the first permanent failure ends the generation, so a
second callback from it is already ignored) and the conditional delete (a
live generation is the entry at its key). A refusal's goodbye is sent
best-effort, as the transport and the document server send theirs, instead
of through the failure handling meant for datagrams a session owes.

Tests: late failure after a reconnect, for the transport's generation check
and for the operation server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:02:27 +02:00
..
fixtures Idunn runtime fixture generator takes its specification as input 2026-09-29 04:30:40 +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
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 cultnet-ts: stop exporting signIdunnRuntimePresence; document two limits 2026-09-29 03:26:10 +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: an operation server's send failure belongs to the generation that sent it 2026-09-30 16:02:27 +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