From 274af0486a3cd26a006c03797b68a7742f91c995 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 22 Mar 2026 16:17:27 -0700 Subject: [PATCH] perf: trim more vitest thread pins --- .../server.chat.gateway-server-chat.test.ts | 2 +- test/fixtures/test-parallel.behavior.json | 48 ------------------- 2 files changed, 1 insertion(+), 49 deletions(-) diff --git a/src/gateway/server.chat.gateway-server-chat.test.ts b/src/gateway/server.chat.gateway-server-chat.test.ts index 5759fae87bc..6d858e913e3 100644 --- a/src/gateway/server.chat.gateway-server-chat.test.ts +++ b/src/gateway/server.chat.gateway-server-chat.test.ts @@ -182,7 +182,7 @@ describe("gateway server chat", () => { finish(); return; } - opts?.abortSignal?.addEventListener("abort", finish, { once: true }); + opts?.abortSignal?.addEventListener("abort", finish, { once: true }); }); return undefined; }); diff --git a/test/fixtures/test-parallel.behavior.json b/test/fixtures/test-parallel.behavior.json index 707f9c7a10c..2f1e4278da4 100644 --- a/test/fixtures/test-parallel.behavior.json +++ b/test/fixtures/test-parallel.behavior.json @@ -32,10 +32,6 @@ "file": "src/cli/deps.test.ts", "reason": "Measured ~81% faster under threads than forks on base config while keeping dependency checks green." }, - { - "file": "src/cli/nodes-cli.coverage.test.ts", - "reason": "Measured ~12% faster under threads than forks on base config while keeping nodes CLI coverage green." - }, { "file": "src/cli/daemon-cli/restart-health.test.ts", "reason": "Measured ~35% faster under threads than forks on base config while keeping daemon restart health coverage green." @@ -52,10 +48,6 @@ "file": "src/cli/skills-cli.test.ts", "reason": "Measured ~27% faster under threads than forks on base config while keeping skills CLI coverage green." }, - { - "file": "src/cli/run-main.exit.test.ts", - "reason": "Measured ~12% faster under threads than forks on base config while keeping run-main exit coverage green." - }, { "file": "src/cli/completion-fish.test.ts", "reason": "Measured ~41% faster under threads than forks on base config while keeping fish completion coverage green." @@ -164,10 +156,6 @@ "file": "src/infra/outbound/outbound.test.ts", "reason": "Measured ~14% faster under threads than forks on this host while keeping the file green." }, - { - "file": "src/cli/daemon-cli/install.integration.test.ts", - "reason": "Measured ~12% faster under threads than forks on this host while keeping the file green." - }, { "file": "src/plugins/web-search-providers.runtime.test.ts", "reason": "Measured ~17% faster under threads than forks on this host while keeping the file green." @@ -195,42 +183,6 @@ { "file": "src/media-understanding/runner.video.test.ts", "reason": "Measured ~25% faster under threads than forks on this host while keeping the file green." - }, - { - "file": "src/secrets/audit.test.ts", - "reason": "Measured ~14% faster under threads than forks on this host while keeping the file green." - }, - { - "file": "src/secrets/runtime-web-tools.test.ts", - "reason": "Measured ~13% faster under threads than forks on this host while keeping the file green." - }, - { - "file": "src/security/audit.test.ts", - "reason": "Measured ~40% faster under threads than forks on this host while keeping the file green." - }, - { - "file": "ui/src/ui/views/chat.test.ts", - "reason": "Measured ~25% faster under threads than forks on this host while keeping the file green." - }, - { - "file": "src/tui/tui-session-actions.test.ts", - "reason": "Measured ~11% faster under threads than forks on this host while keeping the file green." - }, - { - "file": "src/tui/gateway-chat.test.ts", - "reason": "Measured ~11% faster under threads than forks on this host while keeping the file green." - }, - { - "file": "src/cli/program/preaction.test.ts", - "reason": "Measured ~21% faster under threads than forks on this host while keeping the file green." - }, - { - "file": "src/cli/program.smoke.test.ts", - "reason": "Measured ~13% faster under threads than forks on this host while keeping the file green." - }, - { - "file": "src/tts/tts.test.ts", - "reason": "Terminates cleanly under threads, but not process forks on this host." } ], "vmForkPinned": []