From 86d0d8960185e4a1068b881301791d46bc9bd093 Mon Sep 17 00:00:00 2001 From: saravanakumardb1 Date: Fri, 27 Mar 2026 23:15:16 -0700 Subject: [PATCH] fix(ci): use forks pool in vitest to avoid tinypool kill EPERM on Node v25 Root cause: tinypool worker teardown calls kill() which returns EPERM on the act_runner host environment. Tests pass but the process crashes during cleanup, causing CI to report failure. pool: 'forks' uses child_process.fork() instead, avoiding the issue. --- vitest.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vitest.config.ts b/vitest.config.ts index 9df4f27b..38d1b1ef 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -5,6 +5,7 @@ export default defineConfig({ globals: true, environment: 'node', passWithNoTests: true, + pool: 'forks', env: { DB_PROVIDER: 'memory', RATE_LIMIT_STORE_MODE: 'memory',