fix: raise Node address-space headroom #26
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/node-address-space-default"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Raise the default analysis-command RLIMIT_AS from 8 GiB to 16 GiB. Node 22 can reserve enough virtual address space under the 8 GiB limit that undici cannot instantiate its llhttp WebAssembly module, causing otherwise valid HTTP tests to fail with misleading fetch errors.
This remains a virtual-address limit rather than an assertion of resident-memory use. The default and override behavior are covered by unit tests, and the README documents the limit semantics.
Validation: 46 unit tests and nix flake check pass.
Automated code review
Reviewed commit:
023e225cff769ab87ec0d4f2a09dd32990836d23Verdict: Ready to merge
No blocking or important findings were retained, and deterministic checks passed. Suggestions remain advisory.
Overall assessment
The pull request updates the default virtual address space limit (RLIMIT_AS) from 8 GiB to 16 GiB to accommodate Node 22's memory requirements for undici's llhttp WASM. The change correctly introduces a module-level constant, updates the configuration parser default, aligns the README example, and adds targeted unit tests for both the new default and explicit overrides. The initial review's documentation concern is already addressed by the inline comment in reviewer.py.
Blocking findings
None.
Important findings
None.
Suggestions
None.
Tests and validation
Questions
Review limitations
Diff coverage
README.md: reviewed — included in a context-limited batchreviewer.py: reviewed — included in a context-limited batchtests/test_reviewer.py: reviewed — included in a context-limited batchReview metadata
Implemented the valid documentation suggestion in commit
023e225: the constant now carries an inline explanation that Node 22 virtual-address reservations can prevent undici llhttp WASM initialization at the former 8 GiB limit. The repository has no changelog; the README already documents the new default for downstream users. All 46 unit tests still pass.Final review update: the only automated suggestion was implemented in
023e225by documenting the Node 22/undici WASM rationale inline. The follow-up review covers that commit, reports unit-tests: success, and retains no blocking, important, or suggested findings. All 46 unit tests and nix flake check pass; PR #26 is ready to merge.