Skip to content

CI docs build memory: what to review โ€‹

FieldValue
Branchfeat/admin-and-merchant-portals, draft PR #976: feat(admin): portal navigation, financials and monitoring, plus the agent-process work behind them, not merged
ProjectREADME.md
IssueNone filed. Dispatched directly from the 2026-08-24 agenda as a same-day CI fix
Servers you needNone. There is nothing to click. One env: block in one CI step
Local originsNot applicable

Is there anything to look at? โ€‹

One command, and one CI run. โ€‹

grep -rn "max-old-space-size" .github/workflows/ci.yml
  • It should show NODE_OPTIONS: --max-old-space-size=3584 on the Build documentation step inside the Build (Docs) job, and nowhere else.
  • The real check is the CI run on this branch's PR. Build (Docs) is the job that was dying; it should pass.

What changed here? โ€‹

The step had no Node heap ceiling AT ALL, so it ran on Node's unbounded default and died near 2005MB. โ€‹

  • It was never a case of a 4096MB ceiling being exceeded. There was no ceiling. No NODE_OPTIONS and no --max-old-space-size were set anywhere on that step before this fix.

The fix is scoped to that one step, so no other job's memory behaviour changes. โ€‹

What is deliberately NOT done? โ€‹

The value shipped is 3584, not the 4096 the originating agenda block asked for, and the difference is open. โ€‹

  • 3584MB lands at roughly half of the runner's 7GB standard allocation.
  • Whether that gives enough headroom, or should be reconciled to 4096, is not decided by this record. If Build (Docs) OOMs again on this branch's PR, that is the answer.

This project folder was a loose, backwards-stated file before it became a folder. โ€‹

  • The single commit on this branch is that correction, not the fix. The fix itself landed as 67bf3882 earlier on the same branch.

What open findings touch this project? โ€‹

What issue does each piece close? โ€‹

PieceIssueState
The heap ceilingNone. Dispatched from the agenda as a same-day fixLanded as 67bf3882
The PR whose CI run surfaced the OOM#949: fix(admin): onboard admins with a portal password, and census every admin-role decision site (#941)Merged

Built with VitePress