Repository navigation
fix(runtime)!: require patched Node.js security releases - #6315
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
[Medium impact] The PR appears safe to merge; no blocking issue was established. SummaryRaises the supported Node.js floors to 22.23.4, 24.22.1, and 26.12.1. Updates package requirements, installer checks, CI pins, recovery text, and tests.
Reviews (6) · Last reviewed commit: "test(mcp): bind HTTP calls to their adve..." · Reviewed by Greptile |
Main (morluto#6315 area, commit 2721650) now asks codesign for the selected architecture with -a on every inspect_signature query and probes the other slices only for their signing state. This merge keeps that binding: the result's fields describe the requested slice, and the per-slice comparison from this branch runs on top of it. With -a, codesign reports the requested slice as "Mach-O thin (<arch>)" even for a universal file (checked against /usr/bin/true on macOS 27), so the Format line no longer names the other slices. A universal target's slice names therefore come from lipo -archs, with the target's CPU families as the fallback when lipo is unavailable; main's own probe loop found no slices on a real universal file for this reason. Wording follows main: "Partial signature coverage: ... describe the requested <arch> architecture; other slices are queried separately", and main's two "unavailable because codesign reported it unsigned" notes replace this branch's mixed-signing notes. Other signed slices, differing fields, requirement hashes and the unsigned-requested-slice case keep their limitations, now phrased against the requested slice. Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Thanks for bringing REA's Node.js requirements up to the patched releases, @ShikamaruNaaraa. Keeping the runtime check, installer and package requirements aligned gives users consistent upgrade guidance when their Node.js version is too old. Welcome to REA! |
Fixes #6283. Part of #6480.
Summary
Require patched Node.js releases:
^22.23.4 || ^24.22.1 || >=26.12.1, with the development pin at 24.22.1. Previously accepted releases below these floors are rejected before installation/setup proceeds.Update the shared runtime predicate, package engines/lock, installer admission and recovery text, Doctor/Setup fixtures, relevant CI pins and core installation guidance. Installer cases cover each patch boundary, prerelease rejection and build metadata. Related translated guidance and environment-image updates remain in #6316.
Maintainer follow-up merged current main, preserved its setup-host documentation during conflict resolution, and separated installer runtime-admission cases to retain every assertion within the existing lint limit.
Contract and boundary impact
The runtime predicate owns Node admission; the standalone shell installer applies the same floors before invoking npm. CLI/MCP schemas, Evidence semantics, provider authority and cleanup contracts are unchanged. This is routine security maintenance within existing contribution scope; a new-provider scope decision is not applicable. Build outputs and local audit artifacts are excluded.
Migration: Node 22.23.3, 24.22.0 and 26.12.0 were accepted previously and are now unsupported. Upgrade to 22.23.4, 24.22.1, 26.12.1 or a newer supported release before installing/updating REA. The installer does not install or upgrade Node/npm.
Validation performed
Maintainer-executed on Linux x64 with Node 24.22.1 and the pinned npm 11.16.0:
--experimental-config-file PATHform, whereas 24.22.1 searched fornode.config.jsonand exited 9. Real probes now use the explicit=PATHform; conservative unknown assertions for split argv remain. Both regex boundary/module files then passed: 63 tests. Probe failures now include Node stderr.oncewrapper names changed frombound onceWrapper(24.18.0) towrapper(24.22.1), while.listenerstill identifies the original callback. Registration/removal fixtures now compare actual callback identity and preserve receiver, ordering, invocation and gap assertions. All 101 Electron hook boundary tests passed on 24.22.1 and separately on 24.18.0; the older-runtime run is a fixture compatibility control, not a supported-runtime claim.Session not found, and clients have test-scoped cleanup. This does not claim a general upstream SDK/Undici fix.npm run check: 6/6 tasks passed, module-boundary and architecture guards passed; lint had 0 errors and 2,271 existing warnings.npm run docs:check: passed, including 9 README consistency tests.npm run verify:package: passed the actual packed-package install/update, CLI analysis, setup/uninstall, Evidence and stdio MCP flows; 220 tools and 6 prompts verified. Lifecycle scripts were disabled for installation. This completed atb7bb6e254; the subsequent corrections change only tests, with production/package inputs unchanged. MCP first catalog: 1,878 ms, sampled startup RSS approximately 134 MiB on the constrained local run; this is an observation, not a before/after speedup claim.Resource controls: one CPU per local command, one test worker, serial Turbo tasks, and bounded runtime settings. Focused tests took 96.9 s / 95.7 CPU s, sampled process-family RSS 1,290 MiB; the final successful complete static check took 55.7 s / 52.9 CPU s, sampled RSS 1,681 MiB. Descendant RSS is sampled every 100 ms and can double-count shared pages or miss short-lived processes. Agent token cost was not measured.
Real Hopper/Ghidra execution and macOS provider verification were not performed locally; this change does not modify those adapters. Current-head GitHub CI/review results remain the merge gate.
Author readiness
Human owner: @ShikamaruNaaraa