Skip to content

queuing: interrupt when messages are sent during confirmation#295866

Merged
connor4312 merged 3 commits intomainfrom
connor4312/sent-confirmation
Feb 17, 2026
Merged

queuing: interrupt when messages are sent during confirmation#295866
connor4312 merged 3 commits intomainfrom
connor4312/sent-confirmation

Conversation

@connor4312
Copy link
Member

Got this feedback from a few people that steering/queuing during a tool call confirmation should just cancel the confirmation and send the message. This does that.

Also cleans up the opt-in setting I had added initially that was only partially working, now that the feature has shipped.

Got this feedback from a few people that steering/queuing during a tool
call confirmation should just cancel the confirmation and send the
message. This does that.

Also cleans up the opt-in setting I had added initially that was only
partially working, now that the feature has shipped.
Copilot AI review requested due to automatic review settings February 17, 2026 21:41
@connor4312 connor4312 enabled auto-merge (squash) February 17, 2026 21:41
@connor4312 connor4312 self-assigned this Feb 17, 2026
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 17, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the chat request queuing behavior to allow interrupting tool call confirmations by sending a new message. When a user sends a message during a tool confirmation, the confirmation is now cancelled and the new message is sent instead. The PR also removes the experimental opt-in setting for request queuing that was only partially working, now that the feature has shipped.

Changes:

  • Modified queuing logic to cancel pending tool confirmations when new messages are sent
  • Removed the chat.requestQueuing.enabled configuration setting and all related checks
  • Cleaned up duplicate/unreachable code in the request queuing flow
  • Removed question carousel dismissal logic that has been replaced by the new cancellation behavior

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.ts Refactored queue handling to remove duplicate logic and always process pending requests when queuing
src/vs/workbench/contrib/chat/browser/widget/chatWidget.ts Added logic to cancel requests during tool confirmation and removed old question carousel handling
src/vs/workbench/contrib/chat/browser/chat.contribution.ts Removed the experimental RequestQueueingEnabled configuration setting
src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.ts Removed all checks for the queueingEnabledCondition context key
src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.ts Simplified whenNotInProgress to only check for active requests, allowing submit during tool confirmation

benvillalobos
benvillalobos previously approved these changes Feb 17, 2026
@connor4312 connor4312 merged commit da135e4 into main Feb 17, 2026
28 of 29 checks passed
@connor4312 connor4312 deleted the connor4312/sent-confirmation branch February 17, 2026 23:45
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.

3 participants