Skip to content

Commit 097463a

Browse files
author
laoyh
committed
test: serialize Vitest workers on Windows
1 parent e8f48aa commit 097463a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

vitest.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ import { defineConfig } from 'vitest/config'
1414

1515
export default defineConfig({
1616
test: {
17+
// Windows fork workers intermittently exit under full-suite CI pressure.
18+
// One worker keeps the real ConPTY coverage deterministic within the job budget.
19+
maxWorkers: process.platform === 'win32' ? 1 : undefined,
1720
server: {
1821
deps: {
1922
inline: [/@deepseek-ai\/dsh-client-ui-primitives/],

0 commit comments

Comments
 (0)