Repository navigation
test(gdb): expect configurable stream truncation diagnostics - #8899
ShuaixinHuang wants to merge 3 commits into
Conversation
[Low impact] This test-only change appears safe to merge. SummaryAdds independent diagnostic checks to the existing oversized-stream regression.
Reviews (2) · Last reviewed commit: "Merge main into codex/test-gdb-configura..." · Reviewed by Greptile |
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. |
…oth conflict changes
Superseded by #8965 at the author's request.
Supersedes #8890 at the author's request. The branch and code are unchanged; this new PR requires its own CI and initial author readiness confirmation.
Summary
Update the oversized-stream regression to match the implemented configurable GDB output cap. The existing test still expects “This release has no runtime override”, so current CI fails even though the stream is dropped and the next command succeeds.
Problem and expected behavior
Actual shard failure and portable-test failure both stop at the obsolete limitation string. Current GDB evidence names the effective/default byte cap, REA_DEBUGGER_MAX_COMMAND_OUTPUT_BYTES recovery, the separate fixed record cap and unknown completeness.
No issue is linked: this was found while diagnosing those executed CI failures. Related existing functionality: #8029 and #8056.
Change and scope
Only the expected diagnostic assertions change. They now check the command-output and record limits, the effective/default byte budget, launch-environment recovery and unknown completeness. All original completion, truncation, subsequent-command and successful-close assertions remain unchanged. No timeout, resource limit or skip is changed. The branch also includes the exact two-line duplicate-import cleanup from #8884 as a prerequisite, so CI can compile and run this regression. That prerequisite changes no runtime behavior. Ordinary test maintenance; scope decision not applicable.
Contract and boundary impact
Existing GDB stream handling and Evidence diagnostics are the producing boundary. This change aligns test expectations with that implemented contract. CLI/MCP schemas, provider support, authority, target interaction and package/generated metadata do not change.
Evidence and regression coverage
Validation performed
Compatibility, safety, and release
Draft pending actual Linux CI for the complete unchanged lifecycle. Current upstream also has the independent duplicate-import build blocker tracked by #8884. This branch explicitly carries that prerequisite to let CI verify the combined build and test correction; if #8884 lands first, its change drops out of this PR's diff. No production or release change, and no runtime verification on Linux/macOS or real debugger claimed.
Author readiness
Human owner: @ShuaixinHuang
Before merge
type(scope): outcome.