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:
parent
fcfb2b8a59
commit
86d0d89601
@ -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',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user