The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 23, 20:30 UTC
fix(server): registry test stubs no longer outlive the test run (#15457)
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
Yordis Prieto committed
Oct 4, 2026 at 00:13 UTC
8fb068c4982fc50a2a2f57c3b6fd4731735cf0bf
1 file changed
+8
-1
apps/server/src/provider/Layers/ProviderInstanceRegistryLive.test.ts
+8
-1
@@ -223,7 +223,14 @@ const makeTildeProviderFixtures = Effect.fn(
223
" },",
224
' }) + "\\n");',
225
"});",
226
- "setInterval(() => {}, 1_000);",
226
+ "// Stay alive for follow-up control requests, but never outlive the",
227
+ "// parent: the probe aborts the SDK without awaiting the child, so an",
228
+ "// unconditional interval would strand this process until reboot.",
229
+ "const keepAlive = setInterval(() => {}, 1_000);",
230
+ 'lines.on("close", () => {',
231
+ " clearInterval(keepAlive);",
232
+ " process.exit(0);",
233
+ "});",
234
"",
235
].join("\n"),
236
);