Repository navigation
fix(evm): explain limiter configuration and access failures - #8637
Closed
ShuaixinHuang wants to merge 1 commit into
Closed
ShuaixinHuang wants to merge 1 commit into
ShuaixinHuang wants to merge 1 commit into
Conversation
11 tasks done
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. |
Contributor
[Medium impact] The PR appears safe to merge; no blocking issues were found. SummaryThe PR fixes limiter recovery at the shared
Reviews (1) · Last reviewed commit: "fix(evm): explain limiter configuration ..." · Reviewed by Greptile |
11 tasks done
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.
Superseded by #8669 at the author's request: #8669 . Same published branch/HEAD; original discussion and historical validation are preserved below.
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.