From a3d6d6c845c9ef492370c4cc12ea790ca92123f0 Mon Sep 17 00:00:00 2001 From: Josh Lehman Date: Sun, 8 Mar 2026 10:45:00 -0700 Subject: [PATCH] test: isolate git commit suite --- scripts/test-parallel.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/test-parallel.mjs b/scripts/test-parallel.mjs index d524fb87438..f57a0569047 100644 --- a/scripts/test-parallel.mjs +++ b/scripts/test-parallel.mjs @@ -86,6 +86,8 @@ const unitIsolatedFilesRaw = [ "src/slack/monitor/slash.test.ts", // Uses process-level unhandledRejection listeners; keep it off vmForks to avoid cross-file leakage. "src/imessage/monitor.shutdown.unhandled-rejection.test.ts", + // Mutates process.cwd() and mocks core module loaders; isolate from the shared fast lane. + "src/infra/git-commit.test.ts", ]; const unitIsolatedFiles = unitIsolatedFilesRaw.filter((file) => fs.existsSync(file));