yao/tai/tunnel
Max 7c96458d8c fix(tai/tunnel): handle concurrent "open" frames in TestRegister_Ping
In CI environments where a real tai gRPC endpoint is reachable on
port 19100, the asynchronous connectTunnelNode goroutine can dial
successfully and send an "open" TunnelControl frame on the Register
stream before the test's "pong" arrives.

Loop on Recv() and skip non-pong frames so the test passes regardless
of whether connectTunnelNode fires in the background.

Made-with: Cursor
2026-03-28 09:13:21 +08:00
..
proto feat(tai): enhance gRPC tunnel functionality and internal host handling 2026-03-12 20:35:17 +08:00
taipb feat(tunnel): refactor VNC and proxy handling with structured routing 2026-03-14 21:51:32 +08:00
forward.go feat(tunnel): refactor VNC and proxy handling with structured routing 2026-03-14 21:51:32 +08:00
forward_test.go feat(tunnel): refactor VNC and proxy handling with structured routing 2026-03-14 21:51:32 +08:00
grpc_handler.go feat(tunnel): refactor VNC and proxy handling with structured routing 2026-03-14 21:51:32 +08:00
grpc_handler_test.go fix(tai/tunnel): handle concurrent "open" frames in TestRegister_Ping 2026-03-28 09:13:21 +08:00
server.go feat(tai): enhance gRPC tunnel functionality and internal host handling 2026-03-12 20:35:17 +08:00
server_test.go feat(tai): enhance gRPC tunnel functionality and internal host handling 2026-03-12 20:35:17 +08:00