Skip to content

chat: Match request origin hover terminology - #334085

Merged
Megan Rogge (meganrogge) merged 1 commit into
mainfrom
agents/fix-vscode-issue-333482
Sep 2, 2026
Merged

chat: Match request origin hover terminology#334085
Megan Rogge (meganrogge) merged 1 commit into
mainfrom
agents/fix-vscode-issue-333482

Conversation

@meganrogge

Copy link
Copy Markdown
Collaborator

Summary

  • use “Open source session” for session-scoped delegation provenance hovers
  • preserve “Open source chat” for chat-scoped and legacy origins
  • add regression coverage for both explicit delegation scopes

Fixes #333482

Validation

  • npm run transpile-client
  • ./scripts/test.sh --run src/vs/workbench/contrib/chat/test/browser/widget/chatContentParts/chatRequestOriginPart.test.ts
  • npm run eslint -- src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatRequestOriginPart.ts src/vs/workbench/contrib/chat/test/browser/widget/chatContentParts/chatRequestOriginPart.test.ts
  • npm run hygiene

Use session terminology for session-scoped delegation hovers while preserving chat terminology for chat and legacy origins. Add regression coverage for both scopes.\n\nFixes #333482\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 2, 2026 18:47

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.

Copilot review overview

🟢 Approval recommended

The implementation matches the issue and includes focused regression coverage.

Review tier: Balanced
Findings: None

What changed in this PR

Aligns request-origin hover terminology with delegation scope, fixing #333482.

Changes:

  • Uses “Open source session” for session-scoped origins.
  • Preserves “Open source chat” for chat and legacy origins.
  • Adds regression coverage for both explicit scopes.
File Description
chatRequestOriginPart.ts Selects hover text by delegation scope.
chatRequestOriginPart.test.ts Verifies chat- and session-scoped labels and hovers.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@meganrogge
Megan Rogge (meganrogge) merged commit 2ad87ab into main Sep 2, 2026
41 checks passed
@meganrogge
Megan Rogge (meganrogge) deleted the agents/fix-vscode-issue-333482 branch September 2, 2026 20:18
@vs-code-engineering vs-code-engineering Bot added this to the 1.137.0 milestone Sep 2, 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.

Agents - agent host session link hover terminology

3 participants