From 1b223dbdd8c00369c950a75f3d8ed02a9b0fa8d4 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 16 Feb 2026 04:24:00 +0000 Subject: [PATCH] test: isolate git-hooks integration and stabilize exec timeout --- scripts/test-parallel.mjs | 2 ++ src/process/exec.test.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/test-parallel.mjs b/scripts/test-parallel.mjs index e13f507375..e6c2cba75c 100644 --- a/scripts/test-parallel.mjs +++ b/scripts/test-parallel.mjs @@ -31,6 +31,8 @@ const unitIsolatedFilesRaw = [ "src/browser/server-context.ensure-tab-available.prefers-last-target.test.ts", // Keep this high-variance heavy file off the unit-fast critical path. "src/auto-reply/reply.block-streaming.test.ts", + // Integration test is process-heavy and can bottleneck unit-fast. + "test/git-hooks-pre-commit.integration.test.ts", // Uses process-level unhandledRejection listeners; keep it off vmForks to avoid cross-file leakage. "src/imessage/monitor.shutdown.unhandled-rejection.test.ts", ]; diff --git a/src/process/exec.test.ts b/src/process/exec.test.ts index 277a96a120..dc0b820548 100644 --- a/src/process/exec.test.ts +++ b/src/process/exec.test.ts @@ -59,7 +59,7 @@ describe("runCommandWithTimeout", () => { ], { timeoutMs: 5_000, - noOutputTimeoutMs: 80, + noOutputTimeoutMs: 120, }, );