From 0e9b899aee38614287a92ee1e2a0f790002504a7 Mon Sep 17 00:00:00 2001 From: Ayaan Zaidi Date: Wed, 18 Mar 2026 15:54:02 +0530 Subject: [PATCH] test: enable vmForks for targeted channel test runs Channel tests were always using process forks, missing the shared transform cache that vmForks provides. This caused ~138s import overhead per file. Now uses vmForks when available, matching the pattern already used by unit-fast and extensions suites. --- scripts/test-parallel.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test-parallel.mjs b/scripts/test-parallel.mjs index dd933b4e4ae..11bd12c185c 100644 --- a/scripts/test-parallel.mjs +++ b/scripts/test-parallel.mjs @@ -487,7 +487,7 @@ const createTargetedEntry = (owner, isolated, filters) => { "run", "--config", "vitest.channels.config.ts", - ...(forceForks ? ["--pool=forks"] : []), + ...(forceForks ? ["--pool=forks"] : useVmForks ? ["--pool=vmForks"] : []), ...filters, ], };