Repository navigation
test(gdb): expect configurable stream truncation diagnostics - #8890
Closed
ShuaixinHuang wants to merge 2 commits into
Closed
ShuaixinHuang wants to merge 2 commits into
ShuaixinHuang wants to merge 2 commits into
Conversation
Contributor
[Low impact] The reviewed changes appear safe to merge; no blocking issues were found. SummaryUpdates the oversized GDB stream test to expect the configurable output-limit diagnostics.
Reviews (2) · Last reviewed commit: "build(gdb): include prerequisite duplica..." · Reviewed by Greptile |
11 tasks
3 of 11 tasks
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 #8899 at the author's request; no code change.
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.