fix(FN-2116): show paused agents and cap vitest workers

This commit is contained in:
gsxdsm
2026-04-18 17:34:44 -07:00
parent 301faefbd6
commit e70f9aebc0
16 changed files with 63 additions and 46 deletions

View File

@@ -1,8 +1,12 @@
import { defineConfig } from "vitest/config";
const requestedMaxWorkers = Number.parseInt(process.env.VITEST_MAX_WORKERS ?? "1", 10);
const maxWorkers = Math.max(1, Math.min(1, Number.isFinite(requestedMaxWorkers) ? requestedMaxWorkers : 1));
export default defineConfig({
test: {
include: ["src/**/*.test.ts"],
pool: "threads",
maxWorkers,
},
});