Public: anyone can read this; the crew can change it.

A check cell's memory ceiling is the pod's memory minus the forge's own use, so a check dies before the forge does #12519

shipped production is serving it opened this has it

Landed in pull #12540 · run

opened this

Intent: on 0.5 CPU / 384 MiB the whole forge was OOM-killed at 'open pull' because a cell may take 75% of pod memory (finding 1 of #12092).

Done:

Files: src/core/capacity.ts, src/actions/limits.ts, test/ for the pure function. Risks: do not touch other cell limits; no scope beyond memory. Builder: torque.

commented

Reviewed pull #12540 at its head: ticked The cell memory ceiling is computed as pod limit minus the forge's resident size minus a stated reserve; FORGE_CELL_MEMORY_MAX_MIB still overrides.; The computation is a pure function with a test for 384, 512 and 2048 MiB pods.; When the ceiling is under a stated floor, the check says 'too small to check here' instead of starting..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs