From 1b0bbd2ce7b1611e96696e4acf6eefc410b51641 Mon Sep 17 00:00:00 2001 From: "randomizedcoder dave.seddon.ca@gmail.com" Date: Thu, 26 Nov 2026 02:36:45 -0800 Subject: [PATCH] fix(test): tcp-controller serves health on loopback 9088 The listener model (a739d59cc) made the default listener a token-protected UDS, so xtcp2 no longer opens :9088. The fixture's agentReady still probes 127.0.0.1:9088/readyz, and restart-agent timed out after CANARY. Declare a health-only loopback listener with auth=disabled, the documented exception. Co-Authored-By: Claude Opus 5.5 --- nix/tests/tcp-controller/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix/tests/tcp-controller/default.nix b/nix/tests/tcp-controller/default.nix index 4ae592f12..82edb1b8a 100644 --- a/nix/tests/tcp-controller/default.nix +++ b/nix/tests/tcp-controller/default.nix @@ -143,6 +143,10 @@ let package = binaries.xtcp2-min; configFile = "/etc/xtcp2/unused.json"; linkMonitor.enable = false; + # The fixture's agentReady probes 127.0.0.1:9088/readyz. The default + # listener is a token-protected UDS, so serve health alone on + # loopback TCP, the one place auth=disabled is allowed for TCP. + listeners = [ "name=health,serves=health,address=127.0.0.1:9088,network=tcp,auth=disabled" ]; treatments = { enable = true; mode = "standalone";