Files
EOS/docs/develop
4b15419b4d build(make): cap the parallel workers of test-ci
test-ci ran the tests without a server with `-n auto`, one pytest-xdist
worker per core. On a machine with 32 cores and 16 GB of memory this
exhausted the threads (Windows, `RuntimeError: can't start new thread`)
or the memory (WSL); with eight workers all parts passed (reported in
the review of this pull request).

The target now adds `--maxprocesses=$(TEST_CI_MAX_WORKERS)` with a
default of 8, so it still starts one worker per core, but at most
eight. `make test-ci TEST_CI_MAX_WORKERS=<n>` changes the limit. CI is
not affected: its jobs call pytest themselves, on runners with four
cores.

Additional changes
Describe the limit, `--maxprocesses` and `PYTEST_XDIST_AUTO_NUM_WORKERS`
in the developer documentation

Refs #1553

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Assisted-by: Claude Code (claude-fable-5-2)
2026-11-20 07:15:33 +01:00
..