CultLib/packages/cultmesh-ts/test
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 6f7b052a47 Fix P17 to actually kill its mutant: check refCount, not connectionCount
The synthetic connection P17 drives directly at acceptConnection() never
reaches CONNECTED (it was never dialed anywhere), so it never joins `peers`
either way — connectionCount alone couldn't tell "refused" apart from
"attached but still handshaking". Manually restoring the disposed-check's
removal and rerunning showed the original assertion passing regardless.
retain() is synchronous and only the attach path calls it, so comparing
CultMeshQuicNativeRuntime.refCount immediately around the acceptConnection()
call is what actually distinguishes the two: confirmed by hand that the
mutation now fails this test by assertion (2 !== 1) before restoring it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-23 21:43:22 +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 Fix cultnet-ts test build for out-of-package contract location 2026-09-13 17:43:55 +02:00
provider-rudp-transport.test.ts Fence provider RUDP connection generations 2026-07-19 00:50:20 +01: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