From b0fa8d29fc7153da13908bf6db0560d5d5dae92c Mon Sep 17 00:00:00 2001 From: Rafael Date: Fri, 28 Aug 2026 10:32:56 -0300 Subject: [PATCH] test(maestro): set INFACTORY_URL in the test Docker target Beta's cache-first work added connection-test.service.spec.ts, whose import graph (connection/client.config.ts) reads process.env.INFACTORY_URL at load time. The Dockerfile test target only set DUC_URL, so that suite crashed at import ("Cannot read properties of undefined (reading 'startsWith')") in CI and in any bare `npm test` run. Add ENV INFACTORY_URL=0.0.0.0:50052 alongside the existing DUC_URL, matching the local-connection convention (0.0.0.0 => no SSL). Full suite: 52 passed, 5 skipped. Co-Authored-By: WOZCODE --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 97b68de..e6d1888 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,7 @@ COPY . . # unit test specific build FROM ci_image AS test ENV DUC_URL=0.0.0.0:50051 +ENV INFACTORY_URL=0.0.0.0:50052 ENTRYPOINT ["npm", "run", "test"]