515 Commits
Author SHA1 Message Date
Robo 9dadd5ad1d fix: do no configure XDG_DATA_HOME for snap (#292808)
Variable was configured first in https://github.com/microsoft/vscode/commit/2d28c0a79c87c70be93dbe73fe0a18fa12e0e7e9
to avoid a crash from corrupted mime database, more context in
https://github.com/microsoft/vscode/issues/230454#issuecomment-2418352959

However that didn't fix the file dialog crashes so we ended up
disabling the mime database creation in https://github.com/microsoft/vscode/commit/4e7b53c5a07914c37ccba0d1211d43d7bc82f420
but the re-configured XDG_DATA_HOME was left as such.

This leads to issues seen in
1) Terminal history https://github.com/microsoft/vscode/issues/237608
2) Trash misconfigured https://github.com/microsoft/vscode/issues/233649
3) Font configurations https://github.com/microsoft/vscode/issues/232578
2026-09-17 12:25:20 +00:00
Robo 4ae4d96052 chore: update to Electron 43 (#332935)
* chore: bump electron@43.4.1

* linux: align desktop name and StartupWMClass

Give DEB and RPM installs a package owned reverse DNS desktop name
so runtime wayland portal identity resolves to an installed desktop file.
Keep snap and archive runtime identities aligned with their distribution
specific desktop file behavior.

Set StartupWMClass to the same identity used by the runtime.

* linux: respect native window controls layout

Reserve both left and right WCO safe areas so custom title bar content
does not overlap controls when the desktop environment places them on
either side.

* dialogs: preserve native locations

Electron 43 defaults native dialogs without a defaultPath to the
Downloads directory instead of allowing the platform to retain its
last location. Resolve existing file or folder history before
invoking native open and save dialogs, while preserving an explicit
caller-provided URI.

* protocol: migrate from deprecated handlers

Replace deprecated registerFileProtocol, registerBufferProtocol,
registerHttpProtocol, and interceptFileProtocol APIs with protocol.handle().

* test: migrate unit test protocol handler

* chore: remove obsolete WebSQL preferences

Electron 43 removes WebSQL and its enableWebSQL web preference.

* fix: wco position for windows

* protocol: avoid exposing managed resource errors

* test: preserve file URLs in protocol handler

* test: adopt worker parent identifiers in CDP golden

Electron 43 target lifecycle payloads include parentId and
parentFrameId for worker targets.

* build: support V8 headers with GCC 12

* test: use platform native dialog paths

* build: install custom electron headers

* build: bootstrap electron headers in compile job

* build: bootstrap Electron headers for Alpine and web

* chore: bump electron@43.5.1

* chore: revert system fontconfig init workaround

* temp: bump distro

* chore: bump electron@43.6.0

* test: skip Dev Container agent host smoke test for exploration

The exploration update channel serves an outdated agent host server that
does not include the bundled Copilot CLI, causing the smoke test to time out.

* chore: bump distro
2026-09-16 08:59:16 +02:00
Dmitriy VasyuraandCopilot d04dcf86c2 Add Agents Window taskbar shortcut and icons (#335947)
sessions: restore Agents Window taskbar shortcut and icons

Reapply the exact changes from #335333 after their revert in #335597.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-14 09:32:25 +00:00
Dmitriy VasyuraandCopilot d20c17c04c sessions: revert Agents Window taskbar shortcut and icons (#335597)
Revert "Add Agents Window taskbar shortcut and icons (#335333)"

This reverts commit 716e76d572.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-11 01:15:34 +00:00
Dmitriy VasyuraandCopilot 716e76d572 Add Agents Window taskbar shortcut and icons (#335333)
* sessions: add Agents Window taskbar shortcut

Add an Agents Window task to the Windows jump list using the existing --agents launch mode and branded icon.\n\nRefs #335321

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

* sessions: use Agents icon for Agents Window

Give the Windows taskbar button the same visual identity as the jump-list task.

Refs #335321

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

* sessions: show Agents icon in window picker

Use the branded Agents icon for Agents Window entries while preserving existing file and workspace icons for other windows.

Fixes #315734

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

* sessions: fix Agents window icon branding

Carry the authoritative Agents window flag into the window picker instead of comparing incompatible native and renderer workspace URI schemes. Reuse the distro-mixed sessions.ico path so native Windows icons match each product quality.

Fixes #315734

Refs #335321

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

* window: expose native icon in window picker

Carry the BrowserWindow icon path through opened-window metadata so Switch Window can render it without depending on Sessions-owned assets.

Fixes #315734

Refs #315935 #335321

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

* sessions: hide Agents workspace from taskbar recents

Keep the internal Agents workspace in shared recent history while omitting it from the Windows jump list now that a dedicated task is available.

Refresh the CI-provided component fixture hashes.

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

* sessions: preserve ordinary window picker icons

Expose native icon metadata only for the explicit Agents Window override so regular workspace, folder, and file entries continue using their resource icons.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-10 21:43:11 +00:00
Raymond ZhaoandCopilot 72751c9adf fix: write key even if source exists (#312902)
Fixes #311713

---------

Co-authored-by: Copilot <copilot@github.com>
2026-04-29 19:22:51 +02:00
Raymond ZhaoCopilotCopilotcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
fda5c965e1 fix: post-install script doesn't check for existing sources (#311795)
* fix: post-install script doesn't check for existing sources

Co-authored-by: Copilot <copilot@github.com>

* Update resources/linux/debian/postinst.template

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

* fix: also scan Dir::Etc::sourcelist in has_existing_repo_source

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/b5d0d54b-bcba-40d2-ae60-e5c15f38e959

Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>

* fix: check our own managed files before has_existing_repo_source

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/a7ac5d3d-6a46-40a4-b04b-75aaa68fcea9

Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>

---------

Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-04-24 14:16:58 -07:00
Robo 4927766313 chore: add srt sandbox dependencies to deb and rpm (#297819)
* chore: add srt sandbox dependencies to deb and rpm

* fix: move the depedency to recommends
2026-03-30 18:29:20 +09:00
Robo 4c1cc1582a fix: add version folder to visualelements manifest icon path (#299239) 2026-03-04 17:31:07 +00:00
Sandeep Somavarapu 13ea41dc8f remove workbench mode concept (#294985)
* remove workbench mode concept

* clean up completely
2026-02-12 19:15:10 +01:00
RoboandCopilot d0e516655a fix: rename product executable on macOS (#291948)
* fix: rename product executable name on macOS

* chore: update test/automation/src/electron.ts

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

* chore: update test/automation/src/electron.ts

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

* chore: rename in additional places

* chore: rename in code-perf.js

* chore: create symlink for backwards compatibility

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-03 14:50:21 -08:00
Benjamin Pasero e86a8aebad agent sessions window - add auto-hide setting for activity bar (#292047) 2026-01-31 14:29:00 +01:00
Benjamin Pasero 7a488d0f07 In agent session window, layout falls over when opening editors (fix #291089) (#291529) 2026-01-29 09:59:58 +00:00
Sandeep Somavarapu 2a5a3ffb60 update agent sessions mode settings (#290643)
* update agent sessions mode settings

* remove setting
2026-01-27 01:25:37 +00:00
Sandeep Somavarapu f8342573c6 remove unused resources (#290540) 2026-01-26 21:18:38 +00:00
Sandeep Somavarapu e7c53a91c7 introduce workbench mode for agent sessions window (#290500)
* introduce workbench mode for agent sessions window

* feedback

* simplify
2026-01-26 19:44:40 +00:00
Benjamin Pasero e9322ed788 chore - remove unused settings from agent-sessions (#290369) 2026-01-26 12:01:51 +00:00
Benjamin Pasero ff2c44330b fix - update chat.viewSessions setting to show active only (#290341) 2026-01-26 11:06:13 +00:00
Benjamin Pasero 5358a4d0b8 agent sessions - update icon for profile (#290353)
* style - update icon for `Agent Sessions` profile

* .
2026-01-26 10:54:36 +00:00
Benjamin Pasero cc0ced7949 chat - tweak click behaviour setting of agent control (#290289) 2026-01-25 12:28:21 -08:00
Benjamin Pasero 390f10d3c1 layout - cleanup handling of workbench.secondarySideBar.forceMaximized (#290236)
* layout - cleanup handling of `workbench.secondarySideBar.forceMaximized`

* .

* .

* .
2026-01-25 17:03:16 +01:00
Benjamin Pasero b5dcdba622 agent sessions - split by "Active" and "History" (#290232)
* agent sessions - split by "Active" and "History"

* comments

* comments

* .

* .
2026-01-25 17:02:52 +01:00
Benjamin Pasero 9216191ee6 agent sessions - tweaks to default settings for sessions window (#290149) 2026-01-24 18:10:10 +01:00
Benjamin Pasero 075b37ce5c agent sessions - tweaks to default settings for sessions window (#290112)
* agent sessions - tweaks to default settings for sessions window

* .

* .
2026-01-24 00:24:29 -08:00
Benjamin Pasero 5265b9f108 agent sessions - update default settings for profile (#289862) 2026-01-23 10:30:58 +00:00
Benjamin Pasero e013985f98 feat - add color theme setting to agent sessions profile (#289844)
* feat - add color theme setting to agent sessions profile

* .
2026-01-23 09:11:52 +00:00
19209a8c1f Prototype agent sessions window (#289707)
* prototype agent sessions window

* prototype agent sessions window

* polish defaults

* apply template changes on startup

* move under resources

* some fixes and disable profile actions in agent sessions window

* disabe manage profile actions for agent sessions workspace

* fix fixing window title

* disable when chat is hidden

* simplify

* feedback

* fix tests

* disable the action in stable

* Update resources/profiles/agent-sessions.code-profile

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

* Update src/vs/platform/userDataProfile/common/userDataProfileTemplateWatcher.ts

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

* Update src/vs/platform/userDataProfile/common/userDataProfile.ts

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

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-23 08:17:25 +00:00
Robo 6543b51327 feat: enabled windows version update for stable (#288126)
* feat: enabled windows version update for stable

* chore: update setup file

* temp: bump distro

* chore: fix electron re-download

* fix: oss callsite in updateservice

* chore: simplify check in tunnel-forwarding
2026-01-19 12:16:20 +00:00
Robo fae32c4c21 fix: ci for snap builds (#280871) 2025-12-03 07:22:13 +00:00
Robo c6bc106818 fix: snap crash on startup with wayland sessions (#280656) 2025-12-02 17:27:29 +00:00
Robo 1fefbeea3c fix: insiders cli launch from wsl terminal (#279444)
* fix: insiders cli launch from wsl terminal

* chore: also update server cli

* chore: address review feedback
2025-11-26 16:29:52 +01:00
Robo 4c5bfb172a feat: create versioned resources for windows setup (#263998)
* feat: create versioned resources for windows setup

* chore: use inno_updater to remove old installation

* chore: remove old installation as part of setup

* chore: update explorer-command

* chore: prefer session-end

* chore: uninst delete updating_version

* chore: make session-ending write synchronous

* chore: cleanup updateService.win32.ts

* chore: invoke inno_updater gc path for non background update

* chore: move session-end path to runtime

* chore: use commit for updating_version

* chore: fix invalid string

* chore: set appUpdate path

* chore: update inno_updater

* chore: empty commit for testing

* chore: some cleanups

1) Check for session-ending flag in appx and tunnel callsites
2) Move gc for background update to cleanup phase in updateservice
3) Set update state to ready when there is a running inno_setup

* chore: disallow same version update

* chore: disallow application launch in the middle of update

* chore: empty commit for testing

* chore: bump inno_updater

* chore: empty commit for testing

* chore: move gc to update startup

* chore: move feature behind insider only check

* chore: bump inno_updater

* chore: bump explorer-command

* fix: build

* fix: gc for background update in system setup

* chore: create separate cli entrypoints for build

* fix: check for setup mutex created by inno

* chore: remove problematic updatingVersionPath deletion

* chore: remove redundant update check

* chore: bump inno_updater

* chore: fix build

* chore: bump inno updater
2025-11-24 21:32:12 +09:00
Raymond Zhao d499211732 fix: switch everyone to DEB822 (#260171)
Fixes #259302
2025-08-06 11:52:08 -07:00
Raymond Zhao 70639634f3 fix: customize postinst by architecture (#259280)
Fixes #258886
2025-08-04 17:03:54 +00:00
Robo f5e06c148d feat: support device permissions via package identity (#257741)
* feat: support device permissions via package identity

* chore: update explorer dll checksums

* chore: cleanup appx preparation

* chore: avoid cross-device link error

* chore: remove appx installation gate

* chore: rm duplicate appx installation checks

* chore: extract package full name from Get-AppxPackage

* chore: fix remove-appxpackage command
2025-07-25 12:57:36 -07:00
Raymond Zhao 443a62813e fix: onboard Debian package onto new key (#256544) 2025-07-17 16:17:07 -07:00
Robo 6947b69d47 fix: revert remote libcxx requirement to 3.4.25 (#248976)
* fix: revert libcxx requirement to 3.4.25

* ci: temp debugging

* fix: use gcc 8.5.0 for remote

* ci: update cache

* ci: fix sysroot directory

* ci: fix objdump directory
2025-05-14 20:10:32 -07:00
RoboandBenjamin Pasero 12326f9906 chore: update to Electron 35 (#245423)
* chore: bump electron@35.0.1

* chore: update types/node@22.x

* chore: update web types for node v22.x

* chore: bump electron@35.1.2

* chore: update node.js build

* chore: update app.dock usage

Refs https://github.com/electron/electron/commit/71f3ff6bf289745c74d48cf54c254120a70804b4

* chore: bump electron@35.1.4

* chore: bump electron@35.1.5

* ci: bump sysroot to glibc 2.28 and gcc 10.5.0

* ci: enable timeout for smoketests

* chore: bump min glibcxx to 3.4.26 for server

* Revert "ci: enable timeout for smoketests"

This reverts commit afb637e85d.

* chore: update debian dependencies

* fix: workaround npm.ps1 argument parsing with powershell

* chore: update rpm dependencies

* test: partially revert changes from 242535

* test: remove redudant keybinding dispatch for selectTab

* test: fix test failure from running configured tasks

* test: focus settings editor for preferences.test.ts

* node - adopt compile cache (#246835)

* node - adopt compile cache

* adopt for utility process

* tweaks

* log state of compilation cache

* Revert "log state of compilation cache"

This reverts commit f3840387a583013834762e2c44f6e8424929297f.

* Revert "node - adopt compile cache (#246835)"

This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.

* chore: update builds

* chore: bump electron@35.2.0

* chore: bump electron@35.2.1

* chore: bump electron@35.2.2

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-05-09 19:03:36 +09:00
Raymond Zhao 02f077ed29 Tidy up postinst script (#248334) 2025-05-07 14:41:37 -07:00
bhack 76c064bd87 Add to new source format and the mandatory signed-by (#239390)
fixes #238697
2025-05-06 23:33:19 +00:00
João Moreno a82ba894c6 Snap: Remove SUID from sandbox binary (#246307)
* debug

* remove SUID

* damn it

* remove unnecessary logs
2025-04-11 15:44:37 +02:00
Pavel Prchal eecb98b9a2 Added localization to right-click on icon (#243679) 2025-03-17 18:11:00 +00:00
Robo 31ec1c528f build: remove legacy server support (#235232)
* build: remove legacy server support

* chore: update rpm dependencies

* chore: fix publishing

* cli: provide option for unsupported glibc sysroot

* chore: add unsupported mode to prereq check

* chore: add logging

* chore: add comment about patchelf execution order
2025-03-10 17:54:23 +01:00
Robo 79d2a4c826 fix: corrupted vsce dotnet binaries in rpm package (#238636) 2025-01-24 08:27:05 +01:00
Martin Aeschlimann f43f3cc8f9 server.cli.ts does not await Promises (#235738) 2024-12-10 17:26:34 +01:00
Sandeep Somavarapu 653fd419de #232043 revert cli command and support downloading VSIX in UI (#233843)
* Revert "fix #232043 (#233596)"

This reverts commit e9d6c6afc0.

* #232043 revert cli command and support downloading VSIX in UI
2024-11-14 15:41:28 +01:00
Sandeep Somavarapu e9d6c6afc0 fix #232043 (#233596)
* fix #232043

* fix compilation error

* fix compilation

* fix compilation

* fix compilation

* fix compilation

* fix compilation
2024-11-12 14:09:05 +01:00
Raymond Zhao 49bf27ee9a fix: interactive postinst script breaks install for non-interactive environments (#227837) 2024-10-31 07:50:41 -07:00
Robo b62b4161a0 fix: font config detection for snap (#232713) 2024-10-31 19:27:30 +09:00
Robo 4e7b53c5a0 chore: disable mime db creation in snap (#232129) 2024-10-24 03:39:28 -07:00