Skip to content

Commit 4556c92

Browse files
committed
🤖 ci: increase jest workers in CI
Integration tests are largely network/IO bound (LLM calls). Using 4 Jest workers in CI helps keep the suite under the 10-minute job timeout by overlapping waits.
1 parent 1f49474 commit 4556c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
// Run tests in parallel (use 50% of available cores, or 4 minimum)
2424
// CI runners often have a low core count; "50%" can result in a single Jest worker,
2525
// which can push the integration job over its 10-minute timeout.
26-
maxWorkers: process.env.CI ? 2 : "50%",
26+
maxWorkers: process.env.CI ? 4 : "50%",
2727
// Force exit after tests complete to avoid hanging on lingering handles
2828
forceExit: true,
2929
// 10 minute timeout for integration tests, 10s for unit tests

0 commit comments

Comments
 (0)