Repository navigation
fix(evm): explain limiter configuration and access failures - #8669
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. |
[Medium impact] The reviewed changes appear safe to merge. SummaryThe PR improves EVM limiter recovery at the shared
No actionable defects or security issues were found. No tests were run during this review. The supplied description says this PR supersedes #8637 and #8521. Checking whether #8669 itself has been superseded was blocked by unavailable GitHub authentication. Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Selected limiter path] --> B[Shared filesystem probe]
B --> C[Relative path or non-file: not_configured]
B --> D[Missing path: executable_missing]
B --> E[Access or other probe failure: runtime_unavailable]
C --> F[Recovery text and diagnostics]
D --> F
E --> F
F --> G[Capability inventory]
F --> H[Execution refusal with original cause]
Reviews (1) · Last reviewed commit: "fix(evm): explain limiter configuration ..." · Reviewed by Greptile |
Supersedes #8637 at the author's explicit request to resubmit all current PRs. Same published branch and HEAD dcb4559. Original discussion and historical validation remain at #8637. This new PR requires its own hosted CI and new human declarations for this PR ID.
Supersedes #8521 at the author's explicit request to resubmit all current PRs. Same published branch and HEAD
dcb45595ada064b1024860df87b02d43d8beb9ec. Original discussion and historical validation remain at #8521. This new PR requires its own hosted CI and a new human declaration for this PR ID; prior review declarations are historical.Summary
Fixes #8508. Invalid EVM limiter selections previously surfaced internal admission codes such as
prlimit_not_absoluteas the final capability recovery instruction, and all probe failures were classified as a missing executable.The shared limiter-selection owner now supplies readable recovery naming the selected path and
REA_EVM_PRLIMIT_COMMAND. Relative and non-file selections use the existingnot_configuredavailability code; missing paths useexecutable_missing; denied access and other probe failures useruntime_unavailable. Stable admission codes and system error codes remain in diagnostics.Change and scope
Discovery and execution already share
selectEvmLimiter; the fix stays at that owner instead of parsing error prose in inventory. Final capability output receives the same corrective action, and execution admission uses the same reason and original cause. Documentation describes these filesystem-only readiness outcomes. No alternate command is selected and no tools are installed.This is an ordinary recovery/diagnostic correction for the existing Linux x64 EVM profile. No new provider or target authority, process launch, resource-limit, worker, cleanup or dependency change. A new maintainer scope decision is not applicable. Availability uses existing codes; callers can now distinguish invalid configuration and unavailable access from absence.
Validation
Pinned baseline:
aa48d494e9726d469a1b9ed917f021d8a1a4c7ea, also fresh main at verification. Windows x64, Node 24.22.1, npm 10.9.3 (repository pins 11.16.0); shared dependencies were unchanged.npm run check:fast: 2/2 passed, 36.741 seconds. Formatting andgit diff --checkpassed.00eeac1db3321b0a4e962d018a521efffe24dbc1exactly matches the tested local commit tree.Representative results:
prlimit:not_configured; “Set REA_EVM_PRLIMIT_COMMAND to an absolute executable regular file for caller-supplied util-linux prlimit.”prlimit_not_filepreserved in diagnostics.runtime_unavailable; grant execute permission/filesystem access or explicitly configure an accessible absolute executable regular file; original system code and path retained.executable_missing; select an existing absolute executable regular file.No real Linux EVM execution or compiled CLI/MCP recovery run is claimed. Hosted CI, including the existing Linux execution cases, must validate this new PR independently.
Author readiness
Human owner: @ShuaixinHuang
Before merge
type(scope): outcome.