Skip to content

Fix voice bridge test service setup - #328115

Merged
connor4312 merged 1 commit into
mainfrom
megrogge/fix-main-voicebridge
Jul 29, 2026
Merged

Fix voice bridge test service setup#328115
connor4312 merged 1 commit into
mainfrom
megrogge/fix-main-voicebridge

Conversation

@meganrogge

Copy link
Copy Markdown
Collaborator

Update voiceBridge.test.ts to construct NewChatVoiceTargetService with mocked ISessionsService and IChatWidgetService dependencies.

This fixes the core CI TypeScript errors introduced when the service constructor gained two required arguments.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: db94f3da-b5b5-4265-b2f6-f4dd41a4527c
Copilot AI review requested due to automatic review settings July 29, 2026 21:59
@meganrogge meganrogge self-assigned this Jul 29, 2026
@meganrogge meganrogge added this to the 1.132.0 milestone Jul 29, 2026

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.

🟢 Ready to approve

The mocks satisfy the constructor contract and follow existing test patterns.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

Updates the voice bridge tests to match NewChatVoiceTargetService’s constructor.

Changes:

  • Adds mocked session and chat widget services.
  • Reuses a helper to construct test targets.
File summaries
File Description
src/vs/sessions/contrib/chat/test/browser/voiceBridge.test.ts Supplies required mocked dependencies.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Medium

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

@meganrogge
meganrogge enabled auto-merge (squash) July 29, 2026 22:01
@meganrogge meganrogge closed this Jul 29, 2026
auto-merge was automatically disabled July 29, 2026 22:10

Pull request was closed

@meganrogge meganrogge reopened this Jul 29, 2026
@meganrogge
meganrogge enabled auto-merge (squash) July 29, 2026 22:11
@connor4312
connor4312 disabled auto-merge July 29, 2026 22:22
@connor4312
connor4312 enabled auto-merge July 29, 2026 22:22
@connor4312
connor4312 merged commit b5c7a93 into main Jul 29, 2026
46 of 55 checks passed
@connor4312
connor4312 deleted the megrogge/fix-main-voicebridge branch July 29, 2026 22:27
roblourens added a commit that referenced this pull request Jul 29, 2026
Resolve the voice bridge test conflict by taking the upstream service-mock fix from #328115.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

4 participants