testsAndMisc/meta
Krzysztof kuhy Rudnicki 2a1bb60d9f
Some checks are pending
Pre-commit checks / pre-commit (push) Waiting to run
Python tests / test (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
Serialise the heavy ci-mirror gates when memory is tight
The push kept failing with "1798 passed" immediately followed by "Killed".
The suite was never the problem: it peaks at ~0.29 GiB against its own 2G
cap. ci_mirror.sh runs pre-commit --all-files and the pytest gate
concurrently, and the pre-commit tree peaks at ~1.75 GiB (mypy and pylint
repo-wide, invisible to /usr/bin/time because it measures only the parent).
The pair wants ~2 GiB at once; the pytest scope has MemorySwapMax=0, so on
a loaded machine it is the one that dies.

Concurrency is now conditional on MemAvailable. Above 4 GiB the fast path
is unchanged. The probe lives in ci_mirror_mem.sh, following the existing
ci_mirror_range/ci_mirror_shell split, which also keeps ci_mirror.sh under
the line cap.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PJrqKERAo5QUeEHWS5Asgp
2026-08-23 20:02:59 +02:00
..
lib Split lint_python.sh: output helpers and the full-mode linters 2026-08-16 23:08:02 +02:00
scripts Serialise the heavy ci-mirror gates when memory is tight 2026-08-23 20:02:59 +02:00
.fvmrc chore: consolidate root configs into meta/, drop unused C dir + split/pdfCentered/geo_data 2026-05-14 20:40:12 +02:00
.pre-commit-config.yaml Flatten i3-configuration and misc/testsAndMisc-bash 2026-08-23 19:02:18 +02:00
lint_python.sh Resolve the symlink in lint_python.sh's SCRIPT_DIR 2026-08-16 23:13:07 +02:00
pyproject.toml Flatten i3-configuration and misc/testsAndMisc-bash 2026-08-23 19:02:18 +02:00
requirements-test.txt Install only the test deps in Python tests CI: 79 packages -> 17 2026-08-23 16:29:24 +02:00
requirements.txt Fix the Python tests CI workflow: drop mitmproxy 2026-08-23 16:13:28 +02:00
run.sh Dissolve linux_configuration/scripts/ and single_use/ 2026-08-23 18:53:30 +02:00
shell-coverage-allowlist.txt Flatten i3-configuration and misc/testsAndMisc-bash 2026-08-23 19:02:18 +02:00