From a020b53e4401daaf0bfb21c29fa9c570f55ae2fd Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 10 Feb 2026 02:47:27 +0000 Subject: [PATCH] Cover bootstrap timeout upper bound acceptance Co-authored-by: Theo Browne --- apps/t3/src/runtimeApiServer.test.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/t3/src/runtimeApiServer.test.ts b/apps/t3/src/runtimeApiServer.test.ts index 3fdcddb253..d9fb6bc3f4 100644 --- a/apps/t3/src/runtimeApiServer.test.ts +++ b/apps/t3/src/runtimeApiServer.test.ts @@ -278,6 +278,15 @@ describe("runtimeApiServer", () => { ).rejects.toThrow("Invalid bootstrapSessionTimeoutMs"); }); + it("accepts bootstrap timeout at configured upper bound", async () => { + const server = await startRuntimeApiServer({ + port: 0, + launchCwd: process.cwd(), + bootstrapSessionTimeoutMs: 120_000, + }); + servers.push(server); + }); + it("rejects empty auth token configuration", async () => { await expect( startRuntimeApiServer({