Skip to content

[release/1.146] chore: port fixes from release/1.145 - #347445

Merged
Robo (deepak1556) merged 1 commit into
release/1.146from
robo/port_release_1_145
Nov 10, 2026
Merged

Robo (deepak1556) merged 1 commit into
release/1.146from
robo/port_release_1_145

Conversation

@deepak1556

Copy link
Copy Markdown
Collaborator

No description provided.

@deepak1556 Robo (deepak1556) added this to the 1.146.0 milestone Nov 10, 2026
@deepak1556 Robo (deepak1556) self-assigned this Nov 10, 2026
Copilot AI balanced review requested due to automatic review settings November 10, 2026 19:11
@vs-code-engineering

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

TylerLeonhardt

Matched files:

  • src/vs/workbench/api/common/extHostMcp.ts

Kyle Cutler (@kycutler)

Matched files:

  • src/vs/workbench/contrib/browserView/electron-browser/tools/browserTools.contribution.ts
  • src/vs/workbench/contrib/browserView/electron-browser/tools/handleDialogBrowserTool.ts
  • src/vs/workbench/contrib/browserView/test/electron-browser/tools/handleDialogBrowserTool.test.ts

Joaquín Ruales (@jruales)

Matched files:

  • src/vs/workbench/contrib/browserView/electron-browser/tools/browserTools.contribution.ts
  • src/vs/workbench/contrib/browserView/electron-browser/tools/handleDialogBrowserTool.ts
  • src/vs/workbench/contrib/browserView/test/electron-browser/tools/handleDialogBrowserTool.test.ts

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: f47fbba0 Current: e14589af

Changed (2)

sessions/inbox/inboxNotificationsView/Evidence/Light
Before After
before after
sessions/inbox/inboxNotificationsView/EvidenceNarrow/Light
Before After
before after

@deepak1556
Robo (deepak1556) enabled auto-merge (squash) November 10, 2026 19:14

Copilot AI commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

One or more custom setup steps configured for this repository failed during this Copilot code review run:

Restore pnpm store cache

Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review.

Note

You can configure setup steps for Copilot code review separately from Copilot cloud agent with a copilot-code-review.yml file. Read the docs for details.

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.

🟡 Changes recommended

File-upload auto-approval trusts lexical paths, allowing symlinks to bypass confirmation and expose files outside workspace or approved upload folders.

3 open issues
What changed in this PR

Ports fixes from release/1.145 to release/1.146, primarily strengthening security boundaries across VS Code’s CLI, editor, workbench, and Agent Host.

Changes:

  • Hardens web authentication, renderer debugging, browser uploads, UNC access, and agent-originated command handling.
  • Strengthens configuration trust filtering, MCP input validation, and untrusted Markdown/CSS handling.
  • Adds regression coverage and updates the bundled JavaScript debugger.
File Description
src/​vs/​workbench/​services/​workspaces/​test/​common/​workspaceTrust.test.ts Tests malformed trust settings and network workspace trust.
src/​vs/​workbench/​services/​workspaces/​common/​workspaceTrust.ts Keeps trust enabled by default and excludes HTTP resources from automatic trust.
src/​vs/​workbench/​services/​extensionManagement/​test/​browser/​extensionManagementService.test.ts Tests publisher-dialog escaping and command restrictions.
src/​vs/​workbench/​services/​extensionManagement/​common/​extensionManagementService.ts Escapes publisher labels and requires explicit allowlist approval.
src/​vs/​workbench/​services/​configuration/​test/​common/​configurationModels.test.ts Tests prototype-safe standalone configuration merging.
src/​vs/​workbench/​services/​configuration/​test/​browser/​configurationService.test.ts Tests unregistered-setting filtering and trust transitions.
src/​vs/​workbench/​services/​configuration/​browser/​configurationService.ts Expands change notifications during trust transitions.
src/​vs/​workbench/​services/​configuration/​browser/​configuration.ts Filters unregistered settings in untrusted workspaces.
src/​vs/​workbench/​contrib/​workspace/​browser/​workspace.contribution.ts Enables startup trust prompts for network workspaces.
src/​vs/​workbench/​contrib/​notebook/​test/​browser/​notebookEditor.test.ts Tests notebook font CSS sanitization.
src/​vs/​workbench/​contrib/​notebook/​browser/​notebookEditorWidget.ts Validates font values before CSS interpolation.
src/​vs/​workbench/​contrib/​mcp/​test/​common/​mcpServerRequestHandler.test.ts Tests rejection of non-string elicitation messages.
src/​vs/​workbench/​contrib/​mcp/​test/​browser/​mcpWorkbenchService.test.ts Tests install-link inputs and command-variable rejection.
src/​vs/​workbench/​contrib/​mcp/​test/​browser/​mcpElicitationService.test.ts Tests literal notification content and message validation.
src/​vs/​workbench/​contrib/​mcp/​common/​mcpServerRequestHandler.ts Validates elicitation messages before dispatch.
src/​vs/​workbench/​contrib/​mcp/​browser/​mcpWorkbenchService.ts Sanitizes install-link inputs and rejects command variables.
src/​vs/​workbench/​contrib/​mcp/​browser/​mcpServerEditor.ts Displays working directories and installation inputs.
src/​vs/​workbench/​contrib/​mcp/​browser/​mcpElicitationService.ts Validates messages and renders notifications as literal text.
src/​vs/​workbench/​contrib/​extensions/​test/​browser/​extensionHoverWidget.test.ts Tests escaping of marketplace text in hovers.
src/​vs/​workbench/​contrib/​extensions/​electron-browser/​debugExtensionHostAction.ts Passes private renderer WebSocket addresses to the debugger.
src/​vs/​workbench/​contrib/​extensions/​browser/​extensionsWorkbenchService.ts Escapes extension names in installation messages.
src/​vs/​workbench/​contrib/​extensions/​browser/​extensionsWidgets.ts Escapes untrusted extension hover content.
src/​vs/​workbench/​contrib/​extensions/​browser/​extensionsActions.ts Escapes extension update-consent messages.
src/​vs/​workbench/​contrib/​chat/​test/​common/​tools/​builtinTools/​chatExternalPathConfirmation.test.ts Tests multi-file approval and combined folder grants.
src/​vs/​workbench/​contrib/​chat/​common/​tools/​builtinTools/​chatExternalPathConfirmation.ts Supports multi-path checks and folder approvals.
src/​vs/​workbench/​contrib/​browserView/​test/​electron-browser/​tools/​handleDialogBrowserTool.test.ts Tests upload validation, confirmation, and session grants.
src/​vs/​workbench/​contrib/​browserView/​electron-browser/​tools/​handleDialogBrowserTool.ts Adds upload confirmation, parameter validation, and folder grants.
src/​vs/​workbench/​contrib/​browserView/​electron-browser/​tools/​browserTools.contribution.ts Registers upload-specific confirmation handling.
src/​vs/​workbench/​api/​test/​common/​extHostMcp.test.ts Extends rejected SSE endpoint coverage.
src/​vs/​workbench/​api/​common/​extHostMcp.ts Validates legacy SSE endpoints before accepting them.
src/​vs/​platform/​protocol/​electron-main/​protocolMainService.ts Applies UNC restrictions to extension-based file access.
src/​vs/​platform/​mcp/​common/​mcpPlatformTypes.ts Supports labeled MCP input options.
src/​vs/​platform/​extensionManagement/​test/​common/​allowedExtensionsService.test.ts Tests allowlists against inherited property names.
src/​vs/​platform/​extensionManagement/​test/​common/​abstractExtensionManagementService.test.ts Tests safe platform-incompatibility messages.
src/​vs/​platform/​extensionManagement/​common/​allowedExtensionsService.ts Uses a prototype-free extension allowlist.
src/​vs/​platform/​extensionManagement/​common/​abstractExtensionManagementService.ts Escapes extension names in compatibility messages.
src/​vs/​platform/​debug/​test/​node/​rendererDebugBridge.test.ts Tests debugger host, origin, discovery, and socket restrictions.
src/​vs/​platform/​debug/​node/​rendererDebugBridge.ts Adds a restricted renderer debugger bridge.
src/​vs/​platform/​debug/​electron-main/​extensionHostDebugIpc.ts Uses the extracted debugger bridge.
src/​vs/​platform/​configuration/​test/​common/​configurationModels.test.ts Tests nested filtering and prototype-safe model operations.
src/​vs/​platform/​configuration/​test/​common/​configuration.test.ts Tests prototype-safe dotted-key insertion.
src/​vs/​platform/​configuration/​common/​configurationModels.ts Hardens merges and applies ancestor setting restrictions.
src/​vs/​platform/​configuration/​common/​configuration.ts Avoids inherited properties when building configuration trees.
src/​vs/​platform/​agentHost/​test/​node/​localChatCommand.test.ts Supplies message origin in local-command tests.
src/​vs/​platform/​agentHost/​test/​node/​chatContributions.test.ts Tests origin-aware bang-command handling and queue forwarding.
src/​vs/​platform/​agentHost/​test/​node/​agentSideEffects.test.ts Verifies agent messages do not launch bang-command terminals.
src/​vs/​platform/​agentHost/​node/​localCommands/​localChatCommand.ts Adds origin to local-command requests.
src/​vs/​platform/​agentHost/​node/​localCommands/​bangLocalCommand.ts Limits bang-command execution to user messages.
src/​vs/​platform/​agentHost/​node/​chatContributions/​localCommand/​localCommandContribution.ts Forwards message origin to local commands.
src/​vs/​editor/​test/​common/​modes/​supports/​tokenization.test.ts Tests safe token font CSS generation.
src/​vs/​editor/​contrib/​inlineCompletions/​test/​browser/​ghostTextView.test.ts Tests inline-suggestion font sanitization.
src/​vs/​editor/​contrib/​inlineCompletions/​browser/​view/​inlineSuggestionsView.ts Sanitizes inline-suggestion font CSS.
src/​vs/​editor/​common/​languages/​supports/​tokenization.ts Sanitizes token fonts and validates size multipliers.
src/​vs/​editor/​common/​config/​fontInfo.ts Adds shared font-family sanitization.
src/​vs/​editor/​common/​config/​editorOptions.ts Marks inline-suggestion font configuration as restricted.
src/​vs/​base/​test/​node/​unc.test.ts Tests UNC host allowlist matching.
src/​vs/​base/​test/​common/​htmlContent.test.ts Tests plain-text Markdown escaping.
src/​vs/​base/​node/​unc.ts Adds UNC access checks for non-Node filesystem paths.
src/​vs/​base/​common/​htmlContent.ts Adds an untrusted Markdown escaping helper.
product.json Updates the bundled JavaScript debugger to 1.140.1.
cli/​src/​commands/​serve_web.rs Adds authentication before routing, token cookies, and regression tests.

Review effort: Balanced

Comment thread cli/src/commands/serve_web.rs Resolved
@deepak1556
Robo (deepak1556) merged commit 6904719 into release/1.146 Nov 10, 2026
51 checks passed
@deepak1556
Robo (deepak1556) deleted the robo/port_release_1_145 branch November 10, 2026 19:27
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