Files
coder/cli
Spike Curtis 707083166a test(cli): fix flake due to UDP crosstalk (#32102)
fixes ENT-252

In a port forward test for UDP, there are actually 2 UDP socket on the
remote side (the local side uses a mocked network). There is the target
socket where our echo server is listening, and the UDP socket that the
workspace agent opens up to talk to it. We must be getting crosstalk on
the workspace agent socket, because the echo server was already
filtering based on prefix.

The solution in this PR is to move the filtering all the way back to the
test function itself, so if crosstalk comes either on the echo socket or
the workspace agent socket, we'll forward it across the tailnet, but
ultimately filter it in the test function before asserting.

---------

Signed-off-by: Spike Curtis <spike@spikecurtis.com>
2026-11-17 14:59:18 +01:00
..
…
…
…