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.
This commit is contained in:
saravanakumardb1 2026-03-27 23:15:16 -07:00
parent fcfb2b8a59
commit 86d0d89601

View File

@ -5,6 +5,7 @@ export default defineConfig({
globals: true, globals: true,
environment: 'node', environment: 'node',
passWithNoTests: true, passWithNoTests: true,
pool: 'forks',
env: { env: {
DB_PROVIDER: 'memory', DB_PROVIDER: 'memory',
RATE_LIMIT_STORE_MODE: 'memory', RATE_LIMIT_STORE_MODE: 'memory',