Files
cleveragents-core/tools
drew 3c4d4b3362 fix(ci): cap test parallelism to prevent OOM-kills + extend CI-wait timeout
The behave/pabot test sessions derived worker count from the host CPU
count; on a 64-core runner that spawned ~64 workers per job, oversubscribed
RAM, and the run was OOM-killed mid-suite (SIGKILL / exit 137) — a red job
with no test summary.

- noxfile.py: cap auto-derived parallelism at _MAX_DEFAULT_PROCESSES=8;
  TEST_PROCESSES still overrides for hosts that can take more.
- .forgejo/workflows/ci.yml: pin TEST_PROCESSES=8 on the unit_tests and
  integration jobs.
- run-controller-state-machine-pipeline.sh: bump CONTROLLER_AWAITING_CI_TIMEOUT_S
  2400s -> 4500s — capped (8-worker) CI runs longer, so the old 40-min
  ci_poll_exhaustion timeout risked STUCKing workflows whose CI was still
  legitimately running.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 12:25:50 -04:00
..