mirror of
https://github.com/morluto/rea.git
synced 2026-11-05 07:47:29 +00:00
[GH-ISSUE #2498] [Perf] Semantic member-mutation traversal takes 84 s and 1.2 GB on pdf.js's 462 KB openjpeg_nowasm_fallback.js #828
Open
opened 2026-10-15 18:28:48 +00:00 by bsakaguchi
·
4 comments
No Branch/Tag specified
main
release-please--branches--main--components--rea-agents
release-please--branches--main--components--rea-agents--release-notes
codex/procedure-reference-stacked
codex/kuna-independent-retry
codex/byte-search-overlay-coverage
codex/open-failure-target-receipt
codex/kuna-xref-evidence
codex/ghidra-ambiguous-procedure-recovery
codex/function-source-bundle
codex/trace-function-integration-prototype
codex/snapshot-source-closure
codex/recorded-evidence-array-pages
codex/evidence-recovery-redesign
codex/trace-feature-address-scope
codex/call-discovery-scope
codex/ghidra-literal-candidate-evidence
codex/decompile-directory-independent-retry
codex/retry-provenance-base
codex/value-flow-capability-experiment
codex/ghidra-containing-instruction
cursor/readme-discord-button-ef9f
dependabot/github_actions/actions/setup-node-7.1.0
dependabot/github_actions/actions/upload-artifact-7.0.2
dependabot/npm_and_yarn/npm-minor-and-patch-d8d97ce6df
codex/kuna-1989
fix/8559-native-ui-fixture-ownership
fix/8555-go-verifier-mcp-ownership
codex/provider-capability-recovery
fix/8642-rizin-target-stdin
codex/ghidra-memory-effect-scope
codex/ghidra-annotation-entry-selector
codex/ghidra-readonly-recovery
codex/ghidra-regex-verifier-recovery
codex/evidence-discovery-view-guidance
fix/8545-bulk-append-overflow
fix/8428-navigation-refusal-alternatives
codex/address-context-recovery
codex/matching-member-limitations
codex/unknown-scope-contract
codex/evidence-view-guidance
feat/8373-native-trace-views
codex/ghidra-snapshot-verifier-binding
codex/elf-export-visibility
codex/evidence-view-recovery
codex/native-reference-cli-help
codex/provider-candidate-observation-scope
codex/kuna-session-verification
codex/ghidra-switch-lifetime-guidance
codex/pseudocode-paging-discovery
codex/clarify-evidence-view-support
codex/kuna-xrefs-selector-recovery
codex/context-capacity-recovery
codex/evidence-closure-large-links
codex/same-function-evidence-identity
codex/ghidra-verifier-inspected-jdk
codex/audit-guided-workflows
codex/crash-prompt-retained-dossiers
codex/analysis-view-error-recovery
codex/kuna-verifier-target-selection
codex/ghidra-selected-project-call-coverage
codex/docs-native-analysis-scope
codex/ghidra-java-socket-boundary
codex/ghidra-retained-snapshot-verifier
codex/ghidra-search-inventory-facts
fix/8284-zero-argument-parameter-bindings
fix/8198-ui-action-handler-offset
fix/8257-elf-entry-label-identity
fix/8304-deferred-output-schema-projection
fix/8277-call-path-computed-target-uncertainty
fix/pr-8089-conflicts
fix/ci-static-duplicate-export
dependabot/npm_and_yarn/lint-staged-17.6.0
dependabot/github_actions/actions/download-artifact-8.0.2
dependabot/npm_and_yarn/write-file-atomic-8.0.0
dependabot/npm_and_yarn/canonicalize-5.1.0
dependabot/github_actions/actions/cache/restore-6.1.0
dependabot/npm_and_yarn/toon-format/toon-4.4.0
dependabot/github_actions/actions/deploy-pages-5.0.1
codex/review-fixes-pr-2403
codex/review-fixes-pr-2400
codex/process-terminal-width
codex/test-brittleness-cleanup
verify/7167-browser-connect-macos
fix/7167-browser-connect
feat/native-matching-allowance-setting
feat/browser-scenario-dry-run
test/managed-caller-parameters-20261024
codex/parser-fortythird-boundaries
fix/6926-pinvoke-platform-decorations-20261023
fix/6889-har-body-encoding-20261023
fix/6888-sqlite-schema-budget-20261023
fix/dependency-security-gates-6708
cursor/evidence-overwrite-rebase-b4ac
feat/4057-verify-native-exports
fix/windows-acl-observer-overhead-20261022
cursor/erlang-beam-restack-4476
cursor/pe-certificate-review-bf32
fix/6116-javascript-application-fs-errors
fix/6061-unmapped-runtime-script-unknown
feat/browser-scenario-summary
fix/pe-certificates
codex/verify-3407
cursor/rebase-5699
cursor/rebase-5352
cursor/rebase-5600
cursor/fix-cli-schema-omission-10a8
codex/audit-hopper-shutdown-reasons-20261021
fix/demangle-swift-omitted-record
fix/nib-boolean-value-types
cursor/cancellation-partial-observation-a5ac
fix/ib-object-limit-reasons
fix/electron-fuse-limit-advice
fix/kuna-doctor-dangling-cache
fix/fixed-budget-refusal-advice
fix/js-ipc-listener-dedup
fix/js-return-member-provenance
fix/dmg-integrity-retry-advice
fix/ida-doctor-readiness
fix/kuna-version-probe-output-drain
fix/legacy-swift-runtime-name-matching
fix/dylib-lazy-load-commands
fix/browser-scenario-startup-cancel
fix/swift-nested-punycode-classification
fix/compare-unselected-scopes
fix/objc-method-budget-coverage
fix/dmg-mounted-root-observations
audit/ci-tests-20261019-round2
release/6.7.0
fix/wabt-cleanup-retry-resolution
fix/electron-fuse-elf-pe-architecture
fix/native-plist-descriptor-ownership
fix/kuna-caller-cleanup-ownership
experiment/atomic-codemode-20261016
review/first-contributor-3776
fix/call-resolution-full-read-cycles
fix/member-mutation-selection-repeat
experiment/atomic-re-tools-20261015
perf/member-mutation-lazy-origins
perf/static-network-mutation-index
fix/hopper-startup-lifecycle
audit/3050-windows-proof-20261015
feat/windows-window-capture-2183
audit/3049-windows-proof-20261015
audit/3735-macos-fixtures-20261015
fix/batch-decompile-null-pseudocode
fix/kuna-inventory-honors-jobs
experiment/browser-codemode-tool-design-20261015
fix/hopper-clean-runtime-argv
codex/review-2049-27f1b367
review-fixes/pr-2787-routing
fix/3360-scoped-this-emitters
fix/3367-replaced-global-effects
fix/3838-compact-any-value-items
test/hopper-download-probe-20261015
codex/windows-runtime-creation-red-green-20261015
codex/windows-readonly-root-red-green-20261015
codex/windows-root-share-red-green-20261015
codex/exp-1685-win-mcp-startup
codex/bug-sweep-20261015
investigate/2190-windows-package-phases
investigate/3543-macos-cli-deadline
perf/3281-reverse-tools-feedback-quality
fix/3406-hopper-doctor-fixture
fix/3341-wrapper-require-test-context
fix/3301-owned-uninstall-fixtures
fix/3164-compiler-input-ownership
fix/pcap-cleanup-stdout-newline-20261014
perf/interface-builder-summary
codex/review-fixes-pr-1977
fix/ghidra-effective-jvm-platform
fix/docs-turkish-rust-link-20261013
fix/main-maintenance-ci-20261010
fix/recover-binary-session-process-effects
codex/review-fixes-pr-2457
codex/ci-required-cancellation-gate
fix/main-format-baseline-20261013
fix/setup-preserve-entry-fields
cursor/restore-main-checks-1ffc
fix/ghidra-bridge-hashmap-import
codex/shared-ci-jadx-json-default-20261013
codex/shared-ci-ghidra-test-groups-20261013
codex/shared-ci-java-fixture-format-20261013
codex/fix-intrinsic-invocation-boundaries
test/release-preflight-reusable-jobs
test/js-parameter-provenance-expectation
fix/linux-hopper-verification-current
test/2419-ghidra-elf-probe-size
followup/pr-1544-native-ida
codex/fold-pr-2230-contribution
docs/readme-responsible-use
fix/issue-2064
fix/issue-2050
fix/issue-2053
fix/issue-1968
fix/issue-1945
experiment/codemode-bridge-20261011
fix/tool-effects-negative-wording-1904-20261012
fix/1842-electron-interop-provenance
feat/recover-javascript-multi-input
refactor/website-i18n-prep
fix/nativeaot-pe-virtual-extent
fix/browser-verifier-ci-hang
fix/pe-resources-input-selection
docs/beginner-friendly-guides
docs/beginner-setup-guide
fix/javascript-analysis-worker-1563
fix/1649-ghidra-duplicate-names
fix/javascript-export-keys-integration-1369
test/maintenance-boundary-contracts-20261011
review/javascript-export-keys-1369
review/process-live-progress-1483
test/javascript-1495-growth-ratio
fix/ci-escape-timing
docs/normalized-terminal-geometry-1450
release/6.3.0
archive/release-6.3.0-pr1381
release/6.2.0
fix/electron-preload-dynamic-override
fix/javascript-self-referential-bundler-edges
release/6.1.0
cursor/grok-client-cherry-pick-0b56
feat/signature-posture
feat/dyld-shared-cache
feat/artifact-integrity-policy
feat/pkg-inventory
release/6.0.0
chore/sync-release-5.0.0
release/5.0.0
cursor/cloud-agent-node-787e
fix/javascript-xhr-open-endpoints
review/pr-711-realpath-fallback-wording
cleanup/replay-confinement
codex/test-suite-performance
codex/issue-foundations
codex/address-open-issues-2026-07-20
agent/javascript-vite-rollup-esbuild-adapters
agent/process-cleanup
agent/triage-integration
agent/unknown-commands-registry
feat/mcp-identity-metadata
morlvps/issue_cleanup
codex/installer-redesign
morl/roadmap-investigation-core
morl/roadmap-investigation-docs
release-please--branches--main--components--rea
rea-agents-6.8.0
rea-agents-6.7.0
rea-agents-6.6.0
experiment/atomic-codemode-wait-runtime-20261016
rea-agents-6.5.0
rea-agents-6.4.0
rea-agents-6.3.0
rea-agents-6.2.0
rea-agents-6.1.0
rea-agents-6.0.0
rea-agents-5.0.0
rea-agents-4.1.0
rea-agents-4.0.1
rea-agents-4.0.0
rea-agents-3.2.1
rea-agents-3.2.0
rea-agents-3.1.0
rea-agents-3.0.0
rea-agents-2.7.0
rea-agents-2.6.0
rea-agents-2.5.1
rea-agents-2.5.0
rea-agents-2.4.0
rea-agents-2.3.0
rea-agents-2.2.0
rea-agents-2.1.0
rea-agents-2.0.0
rea-agents-1.7.0
rea-agents-1.6.0
rea-agents-1.5.0
rea-agents-1.4.0
rea-agents-1.3.0
rea-agents-1.2.0
rea-agents-1.1.0
rea-agents-1.0.0
rea-agents-0.5.0
rea-agents-0.4.0
rea-agents-0.3.0
rea-0.2.1
rea-0.2.0
Labels
Clear labels
area: bridge
area: bridge
area: build
area: build
area: build
area: cli
area: domain
area: evidence
area: mcp
area: native
area: providers
area: runtime
area: server
area: setup
area: tests
bug
design
documentation
enhancement
enhancement
enhancement
experiment
help wanted
i18n
invalid
P0: critical
P1: high
P2: medium
P2: medium
P2: medium
P3: low
performance
provider-request
pull-request
Mirrored from GitHub Pull Request
question
roadmap
triage
No labels
area: bridge
area: bridge
area: build
area: build
area: build
area: cli
area: domain
area: evidence
area: mcp
area: native
area: providers
area: runtime
area: server
area: setup
area: tests
bug
design
documentation
enhancement
enhancement
enhancement
experiment
help wanted
i18n
invalid
P0: critical
P1: high
P2: medium
P2: medium
P2: medium
P3: low
performance
provider-request
pull-request
question
roadmap
triage
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
morluto/rea#828
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @kaoru0822-kitauji on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/morluto/rea/issues/2498
Summary
analyze_javascript_applicationspends most of its time on one generated file that ships in pdf.js:wasm/openjpeg_nowasm_fallback.js, an Emscripten wasm2js build of 462,316 bytes. Analyzed alone, it takes 84 s and peaks at 1.24 GB RSS, yet yields 31 semantic nodes and 372 unknowns. Almost all of that time is inmarkValueinsidecollectSemanticMemberMutationsSteps(src/domain/javascript/javascriptSemanticMemberMutations.ts).This isn't a correctness failure. But the file is common: any app bundling pdf.js 5.x carries it, and on a slower or loaded machine it approaches the default 300 s per-source deadline.
Reproduction (public input)
The file is byte-identical in
pdfjs-dist@5.3.31andpdfjs-dist@5.3.93(SHA-25653c228428a8861035a34738966af263fc9d4cee6df25a0ad942af947469a0bd9). Obsidian 1.12.7 also bundles it aslib/pdfjs/wasm/openjpeg_nowasm_fallback.js.Measurements
Main at
bb540826d, macOS 26 (Apple silicon), Node 26.5.0, local build.obsidian.asar(24 MB, 36 sources)--source-path lib/pdfjs/wasm/openjpeg_nowasm_fallback.jsA CPU profile of the in-process semantic phase (5 ms sampling) attributes 118 of 145 s (total time) to
markValue. That time is spread across key building and lookups, not one hot call:JSON.stringify([...capture, current.path])(15%), thepathStatekey (13%),JSON.stringify(capture)(12%), andcoveringPaths.get(11%).resolveSemanticBindingStateadds 17 s self time and GC 13 s.I counted with temporary instrumentation (not committed) over the whole semantic phase:
markValuecallspendingitems processed)pendinglength in one callcurrent.pathlengthcurrent.bindingssizebindingsSet, origin)So the cost isn't repeated identical work that a per-call seen-set could drop. The 265 M items are distinct, mostly in their alias-chain
bindingssets and origins, and each is cheap (about 0.5 µs). That points to the size of the explored alias/origin space for this code shape: wasm2js's huge single functions, heavy reuse of a few locals, and manyHEAP32[...] = ...member writes. Faster key encoding alone would give a constant factor at best.Related
Not done
AI agent note
An AI agent (Claude Code) collected these measurements and wrote this issue during a scheduled maintenance loop. The instrumentation lived only in a local build output and was removed. No code changes were made.
@gongfpp commented on GitHub (Oct 13, 2026):
Reproduced this and opened a draft PR for the semantic-phase part: #2941.
Host: macOS 26 (Apple silicon, 24 GiB), Node 24.19.0, local build at
3e7c6302, input = the report's public file (pdfjs-dist@5.3.93→package/wasm/openjpeg_nowasm_fallback.js, 462,316 bytes, SHA-25653c228428a8861035a34738966af263fc9d4cee6df25a0ad942af947469a0bd9) analyzed alone in a directory. The machine carried unrelated load (load average 5.0–6.5, swap in use), so treat these as single-host estimates.Two things to add to the report
--max-heap-mb 1024) this input does not complete on my host. In both the base revision and with my patch,analyze-javascript-applicationreturnsresource_constraint:Owned JavaScript worker exhausted its heap while analyzing openjpeg_nowasm_fallback.js during semantic,coverage.status: "partial". Default-setting wall time here measures time to heap exhaustion at the same limit (median of 3: 144.4 s base, 123.7 s patched, ~1.14 GiB peak both), not completed work.--max-heap-mb 3072it returnsprovider_timeoutat 302.6 s wall, while the patched revision completes the same analysis in 240.6 s. Raising the deadline to 900 s to let the base finish gives 396.7 s base vs 240.6 s patched, with identical output (20,000 semantic nodes / 28,411 unknowns at the per-file node budget; the two completed CLI envelopes compare equal across 979,087 flattened paths once volatile identifiers and captured worker logs are excluded).An in-process
--cpu-profof the semantic phase on base attributes self time tomarkValue38.6%,resolveSemanticBindingState15.7%, the initializer position helpers (directInitializerPosition/directMutationPosition/referenceInitializerPosition) ~15% and GC 8%.What the patch does
resolveSemanticBindingStatere-walked the scope chain for every visit of the same identifier node. Definition collection completes before this phase, andaddBindingis reachable only from it (it returns early for incomplete scopes), so the result is memoizable per node for the phase.markValuere-encoded the same capture tuple withJSON.stringifyand built a fresh long key for everySet/Maplookup, forcing a full string hash each time. The capture key is now cached per (binding, origin, owner) and the lifetime key is derived from it.The semantic IR is byte-identical before and after, and the semantic phase drops from 272.9 s to 177.8 s in-process.
Still open: the memory ceiling. Peak RSS did not move measurably (1,169 MiB at default heap; ~3.4 GiB in-process) and the default-heap completion limit is unchanged, so the retained worklist / alias-chain state that sets it is a separate change from this one. If you would rather see that first, say so and I will look there instead.
@kaoru0822-kitauji commented on GitHub (Oct 16, 2026):
Update with measurements on main at
1bd5c5c87(macOS 26 arm64, Node 26.5.0, same public input, SHA-25653c22842…a0bd9). AI-assisted (Claude Code); temporary instrumentation lived only in a scratch copy ofdist/.Two PRs take part of the time cost:
018ab2c5d, the static phase also ran the whole member-mutation pass for any pendingfetch(...)target. In this file the only target is the parameterreadAsync = async url => fetch(url), which can never resolve. Static went from 0.47 s to 242 s and exhausted the default worker heap, so the file's static facts were lost. With the PR: 0.6 s, facts retained.markValueselected capture origins (semanticMutationInitializers) before the coverage check that rejects ~97% of visits. Semantic phase: 249.9 s → 148.6 s with an identical IR digest. CLI with--max-heap-mb 6144: 590 s → 327 s, byte-identical JSON.Where the remaining time and memory go (observed):
collectSemanticMemberMutationsStepsAlmost all of round 1 (115.6 of 124.3 s) is iterable references whose source is an
Identifierunder anAssignmentExpression. They are wasm2js typed-array stores such asH[e+16>>2]=b, withH = new Int32Array(...). Each store escapes the stored local (markValue(b, [], …, "escape", store)). That walks every assignment ofb, many of the formb = H[...], back toH[null], and records up to ~1,900 escape effects per store. Each effect carries its store site asnode, so nothing is deduplicated across the 4,868 stores, andescapedPathsgrows to ~2 M entries. Those entries are what remains in the 2 GB. Every later binding evaluation also iterates them (javascriptSemanticValues.ts,for (const escape of binding.escapedPaths)).Not done: collapsing these effects. Consumers use each effect's node for timing (
semanticEscapeFollowsCapture,effectsForReferenceAttimings,originalBuiltinReceiver), so merging per-site effects is a lattice decision. Two directions a maintainer could choose between: (a) recognize that a value read from a typed-array element via a numeric key is primitive, so storing or escaping it has no referent; (b) summarize same-binding, same-path escapes from one function activation into one effect whose timing is the earliest site.@gensokyo-dev commented on GitHub (Oct 20, 2026):
Current-main audit at
c23e16162914e6bffc9549959c3faef0a66f6027: this input still does not complete within a caller-selected 600 s source deadline. No fix is proposed from this audit; this issue remains open.Public input:
pdfjs-dist@5.3.93/package/wasm/openjpeg_nowasm_fallback.js, 462,316 bytes, SHA-25653c228428a8861035a34738966af263fc9d4cee6df25a0ad942af947469a0bd9; npm archive integrity verified. Actual public stdio MCP workflow: discover all 210 tools →analyze_javascript_applicationwith the one selected source,detail: summary,max_heap_mb: 3072,analysis_timeout_ms: 600000→ retained summary and Evidence export when available. The target was parsed as inert text, never executed. Node 24.18.0/npm 11.16.0, Linux x86-64; fresh sessions, unflushed OS caches, one shared CPU, 6 GiB family hard/5 GiB early memory stop, no swap.All payload exits are 1, observed cleanup is verified, and observed OOM/resource-stop events are zero. Peak accounting includes descendants and file cache. Final whole-scope counters are unavailable. Later controllers also retrieve the partial summary and export it; the first controller retained the timeout/reference but did not export its body, so these failed-task totals are not a matched completed-task comparison. Candidate partial exports contain the same
ev_389b6645940cd9ac28dccc1ae98357e7ee04ee2848a54baf1b1dc7fe31750356, zero completed parsed files/visited AST nodes, one semantic root and 12 unknowns. None is a successful analysis.The earliest measured bottleneck differs from the original report's
markValuephase. A separate 30 s diagnostic profile, sampled at 5 ms, is dominated bycreateAmbientPathResolverfromindexJavaScriptAmbientWritesStepsduring static analysis. Diagnostic stage markers reach the final escape loop after under 0.6 s of traversal/store closure/writes. A subsequent candidate-only counter run finds 11,611 escape queries and at least 5,069 negative-result hits before its 30 s deadline. These are diagnostic observations, not a completed-task speedup or CPU-phase timing. They do not justify integrating a cache when the public task still times out.The last candidate passed two test files / 201 tests and a runtime build. A completed 76-byte source-built fixture independently verifies function source position, parameter ownership and CommonJS export; its entire normalized result agrees before/after (
8324b78c85bf55455c61dd3a2c143ed285063283b80e4f89a30c41356a56d921). Its one-run whole wall/CPU/peak is 7.170 s / 6.836 s / 753.3 MiB before and 16.509 s / 14.343 s / 740.1 MiB after: no established small-task gain either. Input-catalog + arguments + text-reply token proxies are unchanged at 198,894 (tiktoken 0.12.0,cl100k_base, all discovery and four calls counted). Actual model token usage is unmeasured. Large failed-attempt proxies differ because recovery calls were added, not because context became smaller.#2941 already addresses earlier lookup work. Open #5139 addresses typed-array member propagation at another owner; I did not modify or merge it. Default 1 GiB behavior, full large-file IR equality, other platforms and extended-deadline completion remain unverified. The three candidate patches, package manifests, raw transcripts, diagnostic profile, failed attempts and resource receipts are preserved locally; none has been committed or integrated. The final experimental patch SHA-256 is
1c3da903329c39a8b9aef307dffbd8db344365eecb500591d6de599a2a7aac86.@CassieFox23 commented on GitHub (Nov 3, 2026):
TL;DR: This input still does not finish on main (
c3647ade1) in my VM. At the default 1,024 MiB heap, the worker ran out of heap during the static phase after about 275 s, in both runs. With 3,072 MiB it hit the 300 s deadline instead, and no files were parsed either way.I ran this input on current main (
c3647ade1) in a Fedora 44 VM, with the CLI built from that tree. The input iswasm/openjpeg_nowasm_fallback.jsfrom pdf.js (Apache-2.0),pdfjs-dist@5.3.93. It has 462,316 bytes, and its hash matches the issue's. It was parsed as inert text and never executed.c3647ade1partial; the heap ran out "during static"; 0 files parsed, 1 semantic node, 12 unknownsc3647ade1--max-heap-mb 3072, deadline 300 s (the default)provider_timeoutat the deadline; coveragepartial, 0 files parsed, 1 semantic node, 12 unknownsbb540826d--source-pathon this file, defaults3e7c6302resource_constraint"during semantic", coveragepartial--max-heap-mb 3072provider_timeoutat the 300 s deadlinec23e16162max_heap_mb: 3072, deadline 600 sThe earlier rows are other people's numbers, from other hosts and commits. I did not rerun them. My peak is GNU time's maximum RSS for the command. The last row's is a kernel family peak, so the two differ. The 31/372 row is a finished run; mine is not, so the node and unknown counts do not compare.
What the code history shows
0c6c571a0(#2941) says "Refs #2498". Its message reports a faster semantic phase on this input, 177.8 s instead of 272.9 s. Those are gongfpp's macOS numbers, not mine. #5139, #7131 and #8103 later changed the same file.The stop has moved. The default run from gongfpp stopped "during semantic". Mine stopped "during static". An earlier comment describes a heap stop in the static phase. It names #4321 as the fix, and that PR closed unmerged. I did not check whether the cause is the same.
Not run
Test setup
c3647ade1(main)npm ci --offline(54 s), thennpm run build:cached(12 s), notest:prepareCommands
All in the VM, Node 24.22.1 first on PATH,
timeoutin front, output saved.~/i2498-mainis the extracted tree.Flag names are from
rea analyze-javascript-application --helpin the same build. The CLI help gives defaults of 1,024 MiB for--max-heap-mband 300,000 ms for--analysis-timeout-ms.🤖 Written and tested with Claude Code (Sonnet 5.5, verified by Opus 5.5), posted with my OK 🦊