Skip to content

Preflight bounded Node heaps for memory-heavy recipes - #2231

Merged
chubes4 merged 1 commit into
mainfrom
fix/2226-node-heap-preflight
Aug 6, 2026
Merged

Preflight bounded Node heaps for memory-heavy recipes#2231
chubes4 merged 1 commit into
mainfrom
fix/2226-node-heap-preflight

Conversation

@chubes4

@chubes4 chubes4 commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Closes #2226

Summary

  • Add bounded runtime.hostNodeHeap recipe profile requirements and validation.
  • Preflight Node V8 effective old-space limits before runtime boot.
  • Add --host-node-heap-mb as the supported bounded replay path.
  • Classify host V8 and PHP.wasm OOM evidence separately.

Verification

  • npm run test:host-node-heap
  • npm run build
  • git diff --check
  • npm run check ran 12 smoke stages, then stopped at an existing command-registry assertion unrelated to this PR.

Known Baseline Failures

  • npm run test:phpunit-runtime-failure-diagnostics fails before and after build because the test does not observe its expected encoded bootstrap payload.
  • npm run check stops at command-registry-smoke: wordpress.collect-workload-result outputShape should mention outputSchema id.

AI assistance

OpenAI GPT-5.6 Sol via OpenCode general coding subagent implemented the bounded host Node heap profile, preflight, diagnostics, tests, and docs. Chris Huber reviewed and remains responsible for every line.

AI assistance: OpenAI GPT-5.6 Sol via OpenCode general coding subagent implemented the bounded host Node heap profile, preflight, diagnostics, tests, and docs. Chris Huber reviewed and remains responsible for every line.
@chubes4
chubes4 merged commit c757507 into main Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preflight Node heap budgets for memory-heavy PHPUnit profiles

1 participant