Skip to content

fix checking active session provider id#308233

Merged
sandy081 merged 2 commits intomainfrom
sandy081/invisible-basilisk
Apr 7, 2026
Merged

fix checking active session provider id#308233
sandy081 merged 2 commits intomainfrom
sandy081/invisible-basilisk

Conversation

@sandy081
Copy link
Copy Markdown
Member

@sandy081 sandy081 commented Apr 7, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 7, 2026 15:33
@sandy081 sandy081 enabled auto-merge (squash) April 7, 2026 15:33
@sandy081 sandy081 self-assigned this Apr 7, 2026
Copy link
Copy Markdown
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

Updates the Copilot sessions workbench contribution to only query CopilotChatSessionsProvider state when the active session’s providerId matches COPILOT_PROVIDER_ID, avoiding interacting with non-Copilot providers.

Changes:

  • Gate provider-session lookup behind session?.providerId === COPILOT_PROVIDER_ID in the active-session autorun.
Show a summary per file
File Description
src/vs/sessions/contrib/copilotChatSessions/browser/copilotChatSessionsActions.ts Restricts provider-session access to the Copilot provider when computing the activeSessionHasGitRepository context key.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

Screenshot Changes

Base: 5c2fdfe6 Current: 48a861a0

Changed (1)

editor/inlineCompletionsExtras/JumpToHint/Light
Before After
before after

…tSessionsActions.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sandy081 sandy081 merged commit c4a91a1 into main Apr 7, 2026
22 of 23 checks passed
@sandy081 sandy081 deleted the sandy081/invisible-basilisk branch April 7, 2026 16:16
@vs-code-engineering vs-code-engineering bot added this to the 1.116.0 milestone Apr 7, 2026
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