Cap the memory of each container a heavy command makes under run-heavy at its slot's share #373

Merged
lilleman merged 16 commits from item-227 into main 2026-10-24 11:54:30 +02:00
Owner

Item 227. run-heavy puts a docker first on its command's PATH (bin/run_heavy/path_entry/docker). That docker gives each docker run or docker create without limits a memory and swap limit at the slot's share: three quarters of MemTotal split across the slots, 6019 MiB on ai-sandbox today. A container that sets its own memory limit keeps it. This reaches the containers a project's own scripts start, as adf-codec's 4 GiB mutation container did on 2026-10-23. rule-hook's docker-run-memory now passes a docker run under run-heavy; stability-reviewer sizes a mutation run's concurrency to the share.

Item 227. run-heavy puts a docker first on its command's PATH (bin/run_heavy/path_entry/docker). That docker gives each `docker run` or `docker create` without limits a memory and swap limit at the slot's share: three quarters of MemTotal split across the slots, 6019 MiB on ai-sandbox today. A container that sets its own memory limit keeps it. This reaches the containers a project's own scripts start, as adf-codec's 4 GiB mutation container did on 2026-10-23. rule-hook's docker-run-memory now passes a docker run under run-heavy; stability-reviewer sizes a mutation run's concurrency to the share.
lilleman added 1 commit 2026-10-24 01:06:57 +02:00
lilleman added 2 commits 2026-10-24 11:26:01 +02:00
lilleman added 6 commits 2026-10-24 11:37:11 +02:00
lilleman added 3 commits 2026-10-24 11:43:02 +02:00
lilleman added 3 commits 2026-10-24 11:47:00 +02:00
lilleman marked the pull request as ready for review 2026-10-24 11:50:38 +02:00
lilleman merged commit 3bde9cd6dd into main 2026-10-24 11:54:30 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lilleman/claude-config#373