Repository navigation
refactor(tests): remove duplicate stream coverage - #122190
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 11, 2026 18:08
Contributor
Author
|
Land-ready proof for
The patch removes 308 duplicate test lines and no production code. Five further exact Responses duplicates remain because removing them requires an explicitly approved edit to protected |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 12, 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.
What Problem This Solves
The agent-side Responses stream suite repeated package-owner tool-call arbitration cases byte-for-byte, and the aggregate utility suite repeated two
chunkItemscases already covered more completely by the dedicated owner suite.Why This Change Was Made
Delete the five largest exact Responses duplicates that can be removed while keeping the existing max-lines suppression and protected baseline valid, plus the strict-subset
chunkItemsblock and its unused import. The canonical package suite and all unique Azure/agent transport cases remain.Five additional exact Responses duplicates are intentionally retained for now: deleting them drops the legacy file below the 1,000-line threshold, which requires removing an entry from the protected max-lines baseline. Project policy requires explicit approval for that baseline edit, so this PR does not bypass the gate or pad the file to game the count.
User Impact
No intended user-visible change. Runtime transport behavior is unchanged; CI runs fewer duplicate cases while retaining the same owner-level and unique path coverage.
Evidence
git diff --check: clean.AI-assisted maintenance cleanup; duplicate inputs/outcomes and the protected baseline boundary were reviewed directly.