From 5ebe334a9610b31b42e73aed3deb3011b5fa6739 Mon Sep 17 00:00:00 2001 From: Jason O'Neal Date: Sat, 20 Jun 2026 22:51:19 -0400 Subject: [PATCH] fix(ci): increase timeouts in flaky process-group signal test The 'forwards external termination to command process groups' test was flaky on loaded CI runners. Increase OPENCLAW_CROSS_OS_PROCESS_TREE_KILL_AFTER_MS from 25ms to 200ms and waitForDead timeout from 2s to 10s to give slow runners enough time to deliver SIGKILL to the child process group. --- test/scripts/openclaw-cross-os-release-checks.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/scripts/openclaw-cross-os-release-checks.test.ts b/test/scripts/openclaw-cross-os-release-checks.test.ts index 4d5be2c1caa4..8e1df9bde705 100644 --- a/test/scripts/openclaw-cross-os-release-checks.test.ts +++ b/test/scripts/openclaw-cross-os-release-checks.test.ts @@ -1370,7 +1370,7 @@ describe("scripts/openclaw-cross-os-release-checks", () => { cwd: process.cwd(), env: { ...process.env, - OPENCLAW_CROSS_OS_PROCESS_TREE_KILL_AFTER_MS: "25", + OPENCLAW_CROSS_OS_PROCESS_TREE_KILL_AFTER_MS: "200", OPENCLAW_TEST_CHILD_PID: childPidPath, }, stdio: ["ignore", "ignore", "pipe"], @@ -1384,7 +1384,7 @@ describe("scripts/openclaw-cross-os-release-checks", () => { const result = await waitForExit(runner, 5_000); expect(result).toEqual({ signal: null, status: 143 }); - await waitForDead(childPid, 2_000); + await waitForDead(childPid, 10_000); } finally { if (runnerPid !== undefined && isProcessAlive(runnerPid)) { process.kill(runnerPid, "SIGKILL");