Skip to content

Revert "agentHost: fix Connector authorization test fixture (#342706)" - #342725

Merged
Ross Wollman (rwoll) merged 1 commit into
mainfrom
kycutler/revert-342706
Oct 19, 2026
Merged

Ross Wollman (rwoll) merged 1 commit into
mainfrom
kycutler/revert-342706

Conversation

@kycutler

@kycutler Kyle Cutler (kycutler) commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

This reverts commit c2f7817.

The import and service stub already existed (added in #342682), so this change duplicated them.

This reverts commit c2f7817.

The import and service stub already existed, so this change duplicated them.

Co-authored-by: Copilot <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 19, 2026 22:40
@rwoll
Ross Wollman (rwoll) enabled auto-merge (squash) October 19, 2026 22:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The existing import and identical service stub remain, so both removals safely eliminate duplication.

No open issues 🎉

What changed in this PR

Reverts redundant additions to the Connector authorization test fixture while preserving its existing setup.

Changes:

  • Removes the duplicate IDefaultAccountService import.
  • Removes the duplicate service stub, retaining the existing null-account stub.

No actionable issues remain. Tests were not run.

File Description
src/​vs/​workbench/​contrib/​chat/​test/​browser/​agentSessions/​agentHostCustomizationService.test.ts Removes duplicate fixture declarations without changing behavior.

Review effort: Balanced

Ross Wollman (rwoll) added a commit that referenced this pull request Oct 19, 2026
Carry the same fixture correction as #342725: retain one IDefaultAccountService import and one stub so CI can compile and Connector authorization tests can run.

*🤖 Authored with GitHub Copilot on behalf of @rwoll.*

Co-authored-by: Copilot <[email protected]>
Vritant Bhardwaj (vritant24) added a commit that referenced this pull request Oct 19, 2026
This reverts commit c2f7817, matching #342725. The IDefaultAccountService import and service stub already existed from #342682, so main fails to compile with a duplicate identifier.

Co-authored-by: Copilot <[email protected]>
@rwoll
Ross Wollman (rwoll) merged commit aefd606 into main Oct 19, 2026
50 checks passed
@rwoll
Ross Wollman (rwoll) deleted the kycutler/revert-342706 branch October 19, 2026 23:41
@vs-code-engineering vs-code-engineering Bot added this to the 1.144.0 milestone Oct 19, 2026
Harald Kirschner (digitarald) added a commit to digitarald/vscode that referenced this pull request Oct 20, 2026
The old CI merge snapshot contains duplicate IDefaultAccountService imports, corrected upstream by microsoft#342725. The PR head has no such import to remove. Refresh the merge snapshot without importing unrelated main changes or altering the approved feature patch.

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants