Skip to content

sessions: keep voice mode active in new session composer - #327637

Draft
meganrogge wants to merge 2 commits into
microsoft:mainfrom
meganrogge:agents/fix-agent-window-bug-voice-mode
Draft

sessions: keep voice mode active in new session composer#327637
meganrogge wants to merge 2 commits into
microsoft:mainfrom
meganrogge:agents/fix-agent-window-bug-voice-mode

Conversation

@meganrogge

Copy link
Copy Markdown
Collaborator

Summary

  • keep the Agents window's connected Voice Mode routed to the active new-session composer
  • use the existing composer sentinel instead of falling back to a stale chat widget when navigating from a created session to a new-session draft
  • add regression coverage for created-session → draft-composer → unmounted-composer routing

Fixes #327291

Validation

  • npm run typecheck-client
  • npm run valid-layers-check
  • ./scripts/test.sh --run src/vs/sessions/contrib/chat/test/browser/voiceBridge.contribution.test.ts
  • npm run precommit

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 27, 2026 14:58
@meganrogge
meganrogge marked this pull request as draft July 27, 2026 15:01

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.

Pull request overview

Keeps connected Voice Mode routed to the Agents window’s active draft composer instead of a stale chat widget.

Changes:

  • Routes draft composers through the existing voice sentinel.
  • Adds regression coverage for session-to-draft and composer-unmount transitions.
Show a summary per file
File Description
voiceBridge.contribution.ts Routes active draft composers to the voice sentinel.
voiceBridge.contribution.test.ts Tests created-session, draft-composer, and unmounted-composer routing.

Review details

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Medium

@meganrogge meganrogge added this to the 1.132.0 milestone Jul 27, 2026
Co-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.

Enabling "voice mode" once in a new session view shows it enabled in new-session view next time but doesn't work

2 participants