perf: trim vitest thread overrides

This commit is contained in:
Peter Steinberger
2026-03-22 15:20:20 -07:00
parent ad01465318
commit d907ebffc5
3 changed files with 509 additions and 256 deletions

View File

@@ -395,10 +395,10 @@ const defaultForkBatchLaneCount =
: lowMemLocalHost
? Math.ceil(unitForkBatchFiles.length / 12)
: Math.ceil(unitForkBatchFiles.length / 10);
const configuredForkBatchLaneCount =
parseEnvNumber("OPENCLAW_TEST_UNIT_FORK_BATCH_LANES", null) ??
// Backward-compatible alias for the old manifest terminology.
parseEnvNumber("OPENCLAW_TEST_SINGLETON_ISOLATED_LANES", defaultForkBatchLaneCount);
const configuredForkBatchLaneCount = parseEnvNumber(
"OPENCLAW_TEST_UNIT_FORK_BATCH_LANES",
defaultForkBatchLaneCount,
);
const forkBatchLaneCount =
unitForkBatchFiles.length === 0
? 0