Skip to content

Update CI mode script to allow passing in args#421

Draft
GyozaGuy wants to merge 2 commits intofrontierMasterfrom
gyozaguy/update_ci_script
Draft

Update CI mode script to allow passing in args#421
GyozaGuy wants to merge 2 commits intofrontierMasterfrom
gyozaguy/update_ci_script

Conversation

@GyozaGuy
Copy link
Copy Markdown

@GyozaGuy GyozaGuy commented Apr 13, 2026

On Linux systems, running Jest tests with the default options can consume all system memory and cause the operating system to crash. Being able to specify how many workers are used makes a huge difference in system stability.

This was tested by manually modifying this script in my node_modules directory and running tests in CI mode with the --maxWorkers=2 option passed in.

In Jest 29 we would be able to use the JEST_MAX_WORKERS environment variable, but since we're still on Jest 27 we don't have this option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant