Skip to content

test(ghidra): preserve Node heap options in adapter verification - #1550

Merged
N0zoM1z0 merged 1 commit into
mainfrom
fix/ghidra-verifier-node-resource-options
Oct 10, 2026
Merged

N0zoM1z0 merged 1 commit into
mainfrom
fix/ghidra-verifier-node-resource-options

Conversation

@N0zoM1z0

Copy link
Copy Markdown
Collaborator

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_OPTIONS through 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:

  • Production verifyNativeValueE2e entrypoint 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.
  • A real Ghidra 12.1.4 / Java 21 full npm run verify:ghidra attempt 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:fast passed 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.

@N0zoM1z0 N0zoM1z0 added bug Something isn't working area: tests Test suite and verification performance Performance regressions, scaling limits, and bounded-resource work labels Oct 10, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@N0zoM1z0
N0zoM1z0 merged commit 2d99e1e into main Oct 10, 2026
19 checks passed
@N0zoM1z0
N0zoM1z0 deleted the fix/ghidra-verifier-node-resource-options branch October 10, 2026 12:27
@morluto morluto added the provider: ghidra Analysis provider / engine: ghidra label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tests Test suite and verification bug Something isn't working performance Performance regressions, scaling limits, and bounded-resource work provider: ghidra Analysis provider / engine: ghidra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(verification): native value adapter checks discard Node heap budgets

2 participants