From 472763238d1a85bca09a3d5d953bd24682585b7d Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 4 May 2026 05:27:41 +0100 Subject: [PATCH] test: remove unused gateway startup shim --- src/gateway/server-startup.test.ts | 6 +++--- src/gateway/server-startup.ts | 6 ------ 2 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 src/gateway/server-startup.ts diff --git a/src/gateway/server-startup.test.ts b/src/gateway/server-startup.test.ts index f33464e5d11..abab9c98d19 100644 --- a/src/gateway/server-startup.test.ts +++ b/src/gateway/server-startup.test.ts @@ -36,14 +36,14 @@ vi.mock("../agents/pi-embedded-runner/runtime.js", () => ({ resolveEmbeddedAgentRuntime: () => resolveEmbeddedAgentRuntimeMock(), })); -let prewarmConfiguredPrimaryModel: typeof import("./server-startup.js").__testing.prewarmConfiguredPrimaryModel; -let shouldSkipStartupModelPrewarm: typeof import("./server-startup.js").__testing.shouldSkipStartupModelPrewarm; +let prewarmConfiguredPrimaryModel: typeof import("./server-startup-post-attach.js").__testing.prewarmConfiguredPrimaryModel; +let shouldSkipStartupModelPrewarm: typeof import("./server-startup-post-attach.js").__testing.shouldSkipStartupModelPrewarm; describe("gateway startup primary model warmup", () => { beforeAll(async () => { ({ __testing: { prewarmConfiguredPrimaryModel, shouldSkipStartupModelPrewarm }, - } = await import("./server-startup.js")); + } = await import("./server-startup-post-attach.js")); }); beforeEach(() => { diff --git a/src/gateway/server-startup.ts b/src/gateway/server-startup.ts deleted file mode 100644 index e8495ad51c3..00000000000 --- a/src/gateway/server-startup.ts +++ /dev/null @@ -1,6 +0,0 @@ -export { startGatewayEarlyRuntime, startGatewayPluginDiscovery } from "./server-startup-early.js"; -export { - __testing, - startGatewayPostAttachRuntime, - startGatewaySidecars, -} from "./server-startup-post-attach.js";