Skip to content

[mirror] microsoft/vscode#309067 agentHost: make 'open in vscode' button work for ssh/tunnel sessions#1517

Open
austindyoung wants to merge 7604 commits into
mainfrom
driftfence/mirror/pr-309067/latest
Open

[mirror] microsoft/vscode#309067 agentHost: make 'open in vscode' button work for ssh/tunnel sessions#1517
austindyoung wants to merge 7604 commits into
mainfrom
driftfence/mirror/pr-309067/latest

Conversation

@austindyoung
Copy link
Copy Markdown
Owner

Automated mirror PR for DriftFence counterfactual telemetry.

Source PR: microsoft#309067
Source URL: microsoft#309067
Mirror branch: driftfence/mirror/pr-309067/latest

This PR is maintained by automation for telemetry and review links.

jrieken and others added 30 commits April 8, 2026 14:59
…ate-fix-entry-points

Fix duplicated Fix entry points on marker hover
* nes: add tests for cursor jump and recursion

* fix test
* update d.ts in copilot

* Update extensions/copilot/src/extension/chatSessions/vscode-node/chatCustomAgentsService.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…icrosoft#308495)

* ci: debug fontconfig crash during app launch

* chore: update commands

* ci: bump to ubuntu-24.04 to fix fontconfig crash

Fixes an intermittent SIGSEGV on the [pango] FcInit thread during
Electron startup in CI integration tests.

Root cause: Chromium's InitializeGlobalFontConfigAsync() posts FcInit()
to a thread pool worker (crbug.com/404311), while pango's pangoft2
backend independently calls FcInit() from its own thread during GTK
initialization. fontconfig 2.13.1 (shipped in ubuntu-22.04) lacks
thread-safe initialization — concurrent first-time FcInit() calls
race and both enter FcConfigParse(), corrupting shared global state.
This causes expat (called by fontconfig to parse fonts.conf) to
dereference a NULL pointer.

ubuntu-24.04 ships fontconfig 2.15.0 which includes the thread-safe
initialization from 2.14+.

* ci: enable namespace sandbox
…affordance

inlineChat: remove gutter affordance experiment
…t#308403)

Bumps [@hono/node-server](https://github.com/honojs/node-server) from 1.19.10 to 1.19.13.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](honojs/node-server@v1.19.10...v1.19.13)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 1.19.13
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [hono](https://github.com/honojs/hono) from 4.12.7 to 4.12.12.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.12.7...v4.12.12)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#308414)

Schedule a deferred editor render at the end of CodeBlockPart.render()
to ensure view lines are painted even when earlier render passes were
dropped (e.g. when isConnected is false during initial render).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- The agent host now computes and publishes diff info using the same
  logic used in the editor, inside a worker thread.
- It computes cumulative diffs for the session at the end of each turn.
* Support timing out hung streams

* Fix tests

* Address comments

* Fix tests
…8560)

Bumps [hono](https://github.com/honojs/hono) from 4.12.7 to 4.12.12.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.12.7...v4.12.12)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…icrosoft#307896)

* fix: improve vendor configuration handling in LanguageModelsService

* Fixes
…microsoft#308567)

Bumps [@hono/node-server](https://github.com/honojs/node-server) from 1.19.10 to 1.19.13.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](honojs/node-server@v1.19.10...v1.19.13)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 1.19.13
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ng (microsoft#308574)

* Fix debug panel subagent display: parallel trace routing, hook routing, and event ID collisions

* feedback updates
lszomoru and others added 30 commits April 10, 2026 10:28
…de-runner

build: migrate tests from mocha to node native test runner
* support disabling AI features at workspace level

* add enable/disable ai features actions
…-async-fix

build: fix async private method token fusion; inlineChat: adopt native private fields
feedback - listen to setting change
… apps (microsoft#307675)

* feat: use crossAppIPC to coordinate update ownership between apps

Introduce CrossAppUpdateCoordinator that uses Electron's crossAppIPC
module to ensure only one update client runs at a time. Whichever app
(VS Code or Agents) launches first becomes the IPC server and owns the
update client. The second app becomes the IPC client, suspends its local
update service, and proxies all update operations to the server.

When the server app quits, the client detects the disconnect, resumes
its local update service, and takes over update ownership. Both apps
show synchronized update UI at all times. "Restart to Update" signals
the peer to quit before applying the update.

- Add crossAppIPC type definitions for custom Electron build
- Add CrossAppUpdateCoordinator (symmetric, role-based coordination)
- Add suspend()/resume() to AbstractUpdateService
- Simplify Agents update UI to use direct update actions

* chore: use temp build

* fix: address review feedback for cross-app update coordination

- Dynamically register/dispose the local state change listener instead
  of filtering by mode, avoids unnecessary event handling
  while in client mode
- Clarify that suspend() blocks all update checks (automatic and manual)
  since the coordinator proxies everything to the server in client mode
- Replace fire-and-forget quit with a proper handshake protocol:
  server sends PrepareForQuit, client responds with QuitConfirmed or
  QuitVetoed, server only proceeds with quitAndInstall on confirmation.
  This prevents one side from quitting while the other's quit is vetoed.

* temp: update build

* fix: disable the crossapp coordinator for stable

* fix: don't restart ipc for client disconnection over quit request

* fix: use proxy exe mutex to detect and relaunch app

* temp: workaround for reconnect on macOS

* chore: move noisy updating state to trace level

* fix: compile error on windows

* fix: ready mutex when running as embedded app

* fix: don't open host app when proxy app is the only client

* chore: only enable cross app updater on windows

macOS needs additional work in the squirrel client.

* chore: revert to upstream electron

* fix: compile error

* fix: lazy resolve custom module
… being deselected. (microsoft#308987)

* Tool Approval Management: the approval cannot be selected again after being deselected.
Fixes microsoft#306416

* CCR feedback
…d inlineChatOverlayWidget.ts

Updated auto-approve logic to use JS private fields (#store, #logService,
#currentSession, #showStore) matching the upstream refactor.

Co-authored-by: jrieken <1794099+jrieken@users.noreply.github.com>
nes: fix: address PR review for _performFetch extraction

- Rename FetchResult.Error to FetchResult.FetchFailure to avoid
  confusion with built-in Error class
- Move fetchResultPromise .then/.catch/.finally handlers before
  await Promise.race so early-return paths get setFetchEndTime()
  telemetry
…rosoft#309011)

* nes: implement cursor line distance check for serving from cache

* address review: use rebasedEdit for rejection, skip cross-file cursorOffset, fix test types
…et.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ne-termination-card

inlineChat: show termination card inline in zone widget instead of modal dialog
…-ctrl-i-error

Auto-approve tool confirmations for inline chat on sensitive files
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.