Commits
Commits on
0d793e79661b6fda70ef67e41b548320a00a8598Filtered to crates/forge-runner/src/memory.rsClear filterYesterday
♻️ refactor: runner memory is one box (RAM minus kept-for-host) shared by all jobs, swap left to the OS, concurrency the only gate; drops reservations, pressure parking and requeue. Fixes: log upload retries transient failures instead of dropping the rest of the log, running jobs spin and their live step pulses, wiki hides its empty page railAhmet Kaan Gümüş · d75b65d
♻️ refactor: runner memory is one box (RAM minus kept-for-host) shared by all jobs, swap left to the OS, concurrency the only gate; drops reservations, pressure parking and requeue. Fixes: log upload retries transient failures instead of dropping the rest of the log, running jobs spin and their live step pulses, wiki hides its empty page rail
ci/buildSucceededDetails
🔥 remove: every code comment and doc comment in the Rust sources (12k lines), per the no-comments rule; docs/ holds the rationaleAhmet Kaan Gümüş · 7e521ed
Browse files
ci/buildSucceededDetails
♻️ refactor: forge-runner and forge-web-base drop dead code, duplicated parsing and stale comments; fixes: memory.high no longer drops to 0 on small boxes, log lines are cut at MAX_LINE exactly, a half-installed image rootfs is replaced on retry, register resolves local paths before using the one-time token, strip_ansi keeps the char after a lone ESCAhmet Kaan Gümüş · 68935b0
♻️ refactor: forge-runner and forge-web-base drop dead code, duplicated parsing and stale comments; fixes: memory.high no longer drops to 0 on small boxes, log lines are cut at MAX_LINE exactly, a half-installed image rootfs is replaced on retry, register resolves local paths before using the one-time token, strip_ansi keeps the char after a lone ESC
2026-11-30
🐛 fix: the swap share of a runner's memory budget is swap again: a job without memory may hold the RAM part and swap up to the share, where before the whole budget was its RAM limit with swap off, so a build bigger than RAM was OOM-killed even with swap on the hostAhmet Kaan Gümüş · a574fbfBrowse files
2026-10-20
✨ feat: memory-aware job admission so a runner never over-commits its RAMAhmet Kaan Gümüş · 69c5821
✨ feat: memory-aware job admission so a runner never over-commits its RAM A job can declare memory in ci.toml. A runner admits a job only when the reservations of its running jobs plus the new one fit its memory budget (MemTotal minus headroom by default, swap ignored), tells the forge how much it can admit on every claim, and the forge hands out the first queued job that fits. A job that waited 5 minutes and does not fit stops smaller jobs passing it. Each job's cgroup gets memory.max of its declared memory plus slack, with swap off. Budget and default reservation are live settings on the runner page, which also shows budget, reserved and free. Old runners and forges keep the old behaviour. forge's own ci.toml declares 4g for test and build.