Files
amethyst/nestsClient
Claude c28145a0bf test(nests): T16 I6 — one Amethyst speaker fanning out to three hang-listen subscribers
Adds the I6 cross-stack interop scenario: one Amethyst Kotlin speaker
broadcasts a 5 s 440 Hz mono sine, three independent `hang-listen`
Rust subprocesses each subscribe through the shared `moq-relay` and
decode to their own PCM file. Each listener is asserted independently
on FFT peak (strict, ±5 Hz of 440 Hz), zero-crossing rate
(880/sec ±10 %), and a generous ≥ 2 s sample-count floor (40 % of the
5 s broadcast — the relay's per-subscriber forward queue is stressed
when N>1 subscribers all read the same publisher concurrently, so the
sample count is non-deterministic; FFT peak is the real correctness
invariant).

Listeners are staggered 50 ms apart after a 150 ms lead-in so their
QUIC handshakes don't pile up on the relay's accept loop in the same
tick.

Pinned at `framesPerGroup = 5` to match `HangInteropTest`'s
`moq-relay 0.10.x` interop.

Run: `./gradlew :nestsClient:jvmTest --tests "com.vitorpamplona.nestsclient.interop.native.HangInteropMultiListenerTest" -DnestsHangInterop=true` — green in 5.75 s once sidecars are warm. Full
`-DnestsHangInterop=true` run also green.

https://claude.ai/code/session_01ERJPUYfdLPwZ99pr5EcEcV
2026-05-07 00:25:01 +00:00
..