authorgravatar for yordis.prieto@gmail.comYordis Prieto <yordis.prieto@gmail.com> 2026-10-04 00:13:42-04:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-10-03 21:13:42-07:00
log8fb068c4982fc50a2a2f57c3b6fd4731735cf0bf
treea2c6842e4ba8e220c7ea517ed7b922a213811bb6
parent737993303d36e10674c54b95e5bd3826682c99c7
signature Signed by PGP key B5690EEEBB952194

fix(server): registry test stubs no longer outlive the test run (#15457)

Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>

1 files changed, 8 insertions(+), 1 deletions(-)

apps/server/src/provider/Layers/ProviderInstanceRegistryLive.test.ts+8-1
......@@ -223,7 +223,14 @@ const makeTildeProviderFixtures = Effect.fn(
223223 " },",
224224 ' }) + "\\n");',
225225 "});",
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 "});",
227234 "",
228235 ].join("\n"),
229236 );