[Refactor] Add shared test utilities and pilot refactors - #1171
Merged
edelauna merged 3 commits intoAug 6, 2026
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Contributor
Author
|
0 issues outstanding.
Reviewed 359d91b |
Contributor
Author
|
Fixed and pushed at 359d91b.
Full tests, type checks, and lint pass. The draft PR metadata is refreshed; Codecov will rerun against the pushed commit. |
edelauna
marked this pull request as ready for review
August 6, 2026 03:07
edelauna
requested review from
JamesRobert20,
edelauna,
hannesrudolph,
navedmerchant and
taltas
as code owners
August 6, 2026 03:07
edelauna
approved these changes
Aug 6, 2026
edelauna
deleted the
refactor/test-utils-foundations-pilots-0l3imnen4dykb
branch
August 6, 2026 12:08
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 changed
vscode.postMessagecleanup.openai-native,DiffViewProvider, andChatViewpilot specs while keeping scenario-specific mocks and assertions local.initialStateso test renders reflect supplied state consistently.Why this change was made
This continues the incremental test-utils refactor plan after the provider stream-helper rollout. It reduces mechanical setup duplication and gives future agent-authored tests consistent, typed entry points without pursuing broad test rewrites.
Impact
Test-only refactor. Production behavior is unchanged; the extension and webview test suites retain their existing coverage while becoming easier to set up and maintain.