Repository navigation
test(ghidra): preserve Node heap options in adapter verification - #1550
Merged
Merged
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The native-value real-provider verifier constructs one explicit environment for standalone CLI and stdio MCP children. It discarded caller-selected
NODE_OPTIONS, so Node heap budgets did not reach either adapter. With--max-old-space-size=384, an actual CLI child observed no option and a 4,496,293,888-byte heap limit.Forward explicitly selected
NODE_OPTIONSthrough the shared environment, preserving the existing whitelist. The same production child-boundary probe now observes the exact option and a 603,979,776-byte heap limit. No application contract or provider authority changes.Closes #1548. Refs #1065.
Validation:
verifyNativeValueE2eentrypoint seam launches a real Node 24.18 child, records only the selected option and V8 heap limit, and stops before native inspection. The baseline/candidate regression passed; this is an environment-boundary check, not a real-provider claim.npm run verify:ghidraattempt confirmed the option on the adapter child. It was stopped by the existing 2304 MiB family-RSS guard at 2,418,675,712 bytes after 275.5 s. The full lane did not pass; forwarding the Node budget alone does not bound all concurrent verifier processes.npm run check:fastpassed with the pinned toolchain and serial resource-limited static runner.Real-provider scope: no real Hopper verification performed; the full Ghidra attempt was resource-stopped as stated above. Separate real Linux Ghidra native collection checks passed, but do not establish this complete lane.