Repository navigation
docs(debugger): document configurable session limits - #8856
Closed
ShuaixinHuang wants to merge 5 commits into
Closed
ShuaixinHuang wants to merge 5 commits into
ShuaixinHuang wants to merge 5 commits into
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. |
Contributor
[Low impact] The documentation change appears safe to merge. SummaryDocuments the existing shared debugger settings without changing runtime behavior.
Reviews (2) · Last reviewed commit: "docs(debugger): preserve repository line..." · Reviewed by Greptile |
This was referenced Nov 4, 2026
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 #8896 at the author's request; no code change.
Review follow-up
Clarified that the shared debugger settings also apply to one-shot
rea debug-with-gdbandrea debug-with-rizin, while the listed fixed waits and separate tools retain their own limits. This addresses the scope ambiguity in review comment #4463238050.npm.cmd run docs:check(9 conformance tests),npm.cmd run docs:build, the repository formatter, andgit diff --checkpassed locally. The current PR HEAD needs its own CI result; no new GDB or Rizin runtime claim is made.Summary
Document the shared debugger session settings that are already implemented for GDB and Rizin. Explain defaults, accepted ranges, restart requirements, fixed startup/frame limits, and the separate control-reply budget.
Problem and expected behavior
The implementation accepts
REA_DEBUGGER_COMMAND_DEADLINE_MS,REA_DEBUGGER_MAX_COMMAND_OUTPUT_BYTES,REA_DEBUGGER_MAX_SESSIONS, andREA_DEBUGGER_MAX_PENDING_COMMANDS, but the reverse-engineering guide said the command deadline, output budget, session capacity, and pending queue had no runtime override. That made the documented recovery path contradict the current configuration contract.Change and scope
Update
docs/reverse-engineering-tools.mdwith the four settings, defaults and ranges, invalid-value behavior, client-registration/restart guidance, and remaining fixed limits. This is documentation only; no runtime, schema, provider, debugger lifecycle, package or generated metadata changes. The Linux Rizin cleanup behavior described in issue #8779 remains an independent unimplemented investigation.Validation performed
npm.cmd run test:focused -- src/config/debuggerSessionLimits.test.ts— 10 passed.npm.cmd run docs:check— passed, including 9 conformance tests.npm.cmd run docs:build— passed, 18.89 seconds.npm.cmd run check:fast— typecheck and lint passed.git diff --check— passed.debuggerSessionLimits.tsand fixed Rizin frame/count constants.Limits: no live GDB or Rizin provider session was run; no cleanup behavior or target execution is claimed. The documentation records the existing implementation contract only.
Author readiness
Human owner: @ShuaixinHuang
Before merge
type(scope): outcome.Supersedes #8784.