From 7a8c089247bce33dcab7bdd263d18eceade6b021 Mon Sep 17 00:00:00 2001 From: joshp123 Date: Fri, 8 May 2026 22:09:40 +0800 Subject: [PATCH] test: align startup removeChatRun stub Return undefined from the early-startup test stub so it satisfies the current chat run registry removal contract during core test typechecking. Tests: - pnpm check:changed - git diff --check Co-authored-by: Codex --- src/gateway/server-startup-early.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gateway/server-startup-early.test.ts b/src/gateway/server-startup-early.test.ts index 547851db9ba..44dff5751ff 100644 --- a/src/gateway/server-startup-early.test.ts +++ b/src/gateway/server-startup-early.test.ts @@ -50,7 +50,7 @@ describe("startGatewayEarlyRuntime", () => { chatRunBuffers: new Map(), chatDeltaSentAt: new Map(), chatDeltaLastBroadcastLen: new Map(), - removeChatRun: () => {}, + removeChatRun: () => undefined, agentRunSeq: new Map(), nodeSendToSession: () => {}, skillsRefreshDelayMs: 30_000,