Skip to content

dialogs: include workspace remote details in About - #350366

Merged
Dmitriy Vasyura (dmitrivMS) merged 1 commit into
mainfrom
agents/scoped-change-info-restriction
Nov 25, 2026
Merged

Dmitriy Vasyura (dmitrivMS) merged 1 commit into
mainfrom
agents/scoped-change-info-restriction

Conversation

@dmitrivMS

@dmitrivMS Dmitriy Vasyura (dmitrivMS) commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #349876

Include the current workspace remote connection type and sanitized remote OS/architecture in Help > About and its copied details. Remote authorities, hostnames, paths, and tokens are never included; local windows retain existing behavior.

07-about-dialog-final

Give issue reports enough context to distinguish remote environments without copying hostnames, paths, or tokens. Addresses #349876.

Co-authored-by: Copilot <[email protected]>
@dmitrivMS Dmitriy Vasyura (dmitrivMS) added remote Remote system operations issues dialogs Issues with native and custom dialogs labels Nov 25, 2026
Copilot AI balanced review requested due to automatic review settings November 25, 2026 12:22

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.

🟢 Approval recommended

No active review issues remain, although validation was not rerun.

No open issues 🎉

What changed in this PR

Adds workspace remote details to Help > About and its copied diagnostics, supporting remote-related bug reports for #349876 while preserving local-window behavior.

Changes:

  • Adds connection type and allowlisted remote OS/architecture without exposing authorities, hostnames, paths, or tokens.
  • Integrates the shared helper into desktop and web dialogs, with a bounded remote environment lookup.
  • Adds tests for sanitization, local and disconnected windows, and unavailable remote environments.

No actionable findings remain. Validation was not rerun.

File Description
src/​vs/​workbench/​test/​common/​dialogs.test.ts Tests remote details, privacy filtering, and fallback behavior.
src/​vs/​workbench/​electron-browser/​parts/​dialogs/​dialog.contribution.ts Adds remote details to desktop About dialogs.
src/​vs/​workbench/​common/​dialogs.ts Implements shared sanitization and remote environment lookup.
src/​vs/​workbench/​browser/​parts/​dialogs/​dialog.web.contribution.ts Adds remote details to web About dialogs.

Review effort: Balanced

@dmitrivMS
Dmitriy Vasyura (dmitrivMS) marked this pull request as ready for review November 25, 2026 12:47
@dmitrivMS Dmitriy Vasyura (dmitrivMS) added this to the 1.149.0 milestone Nov 25, 2026
@dmitrivMS
Dmitriy Vasyura (dmitrivMS) added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit ec6f999 Nov 25, 2026
38 checks passed
@dmitrivMS
Dmitriy Vasyura (dmitrivMS) deleted the agents/scoped-change-info-restriction branch November 25, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dialogs Issues with native and custom dialogs remote Remote system operations issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Help -> About" Should also include info about the 'remote'

4 participants