From cf786685bee668a68ee5b24dd0ab35f87738a0d2 Mon Sep 17 00:00:00 2001 From: DiwasKhatri07 <2.87411729e+08+DiwasKhatri07@users.noreply.github.com> Date: Tue, 8 Sep 2026 03:24:19 +0000 Subject: [PATCH 1/3] Disable GPU acceleration in Linux extension tests --- .vscode-test.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vscode-test.mjs b/.vscode-test.mjs index f6ca05cdba..08ce49b2f8 100644 --- a/.vscode-test.mjs +++ b/.vscode-test.mjs @@ -17,6 +17,9 @@ export default defineConfig({ // main IPC socket path over the macOS 103-char AF_UNIX limit and fail // with EINVAL. See microsoft/vscode#196543. `--user-data-dir=${join(tmpdir(), "vscp")}`, + // Ubuntu's headless Xvfb runner has no usable GPU. Without this, + // Electron can leave the test process alive after the suite completes. + ...(process.platform === "linux" ? ["--disable-gpu"] : []), ], workspaceFolder: `test/${existsSync("C:\\powershell-7\\pwsh.exe") ? "OneBranch" : "TestEnvironment"}.code-workspace`, mocha: { From 55f8353b633197355b355a70f807d11096db3f36 Mon Sep 17 00:00:00 2001 From: DiwasKhatri07 <2.87411729e+08+DiwasKhatri07@users.noreply.github.com> Date: Tue, 8 Sep 2026 03:35:11 +0000 Subject: [PATCH 2/3] Clean stale VS Code test installs in CI --- .github/workflows/ci-test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index f5ddaf15a4..8839b58655 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -62,6 +62,11 @@ jobs: if: matrix.os == 'ubuntu-latest' run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & + - name: Remove stale VS Code test installation + shell: pwsh + run: Remove-Item -Recurse -Force .vscode-test -ErrorAction SilentlyContinue + working-directory: vscode-powershell + - name: Build, test and package shell: pwsh run: Invoke-Build -Configuration Release From 309e8b132d2b2fec6b2d6974803d93ed4c01c6cc Mon Sep 17 00:00:00 2001 From: DiwasKhatri07 <2.87411729e+08+DiwasKhatri07@users.noreply.github.com> Date: Tue, 8 Sep 2026 03:39:38 +0000 Subject: [PATCH 3/3] Fix macOS VS Code test executable resolution --- package-lock.json | 102 +++++++++++++++++++++++----------------------- package.json | 2 +- 2 files changed, 52 insertions(+), 52 deletions(-) diff --git a/package-lock.json b/package-lock.json index f51c954422..dfc0b1bb7d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "powershell", - "version": "2026.1.1", + "version": "2026.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "powershell", - "version": "2026.1.1", + "version": "2026.1.2", "license": "SEE LICENSE IN LICENSE.txt", "dependencies": { "@microsoft/applicationinsights-common": "^3.4.1", @@ -18,6 +18,7 @@ "vscode-languageserver-protocol": "^3.18.0" }, "devDependencies": { + "@vscode/test-electron": "^3.1.0", "@vscode/vsce": "^3.9.2", "esbuild": "^0.28.1" }, @@ -36,7 +37,6 @@ "@ungap/structured-clone": "^1.3.1", "@vscode/debugprotocol": "^1.68.0", "@vscode/test-cli": "^0.0.12", - "@vscode/test-electron": "^2.5.2", "esbuild-register": "^3.6.0", "eslint": "^10.5.0", "eslint-config-prettier": "^10.1.8", @@ -1797,10 +1797,10 @@ } }, "node_modules/@vscode/test-electron": { - "version": "2.5.2", - "integrity": "sha1-99QHjoIwzpyUMi8qKcwWwXlUCF0=", + "version": "3.1.0", + "integrity": "sha1-Rrk9EY3NOzyJyq4pahP5p/XrY8U=", + "dev": true, "license": "MIT", - "optional": true, "dependencies": { "http-proxy-agent": "^7.0.2", "https-proxy-agent": "^7.0.5", @@ -1809,7 +1809,7 @@ "semver": "^7.6.2" }, "engines": { - "node": ">=16" + "node": ">=22" } }, "node_modules/@vscode/vsce": { @@ -2095,7 +2095,7 @@ "node_modules/agent-base": { "version": "7.1.4", "integrity": "sha1-48121MVI7oldPD/Y3B9sW5Ay56g=", - "devOptional": true, + "dev": true, "license": "MIT", "engines": { "node": ">= 14" @@ -2554,8 +2554,8 @@ "node_modules/cli-cursor": { "version": "5.0.0", "integrity": "sha1-JKSDHs9aawHd6zL7caSyCIsNzjg=", + "dev": true, "license": "MIT", - "optional": true, "dependencies": { "restore-cursor": "^5.0.0" }, @@ -2569,8 +2569,8 @@ "node_modules/cli-spinners": { "version": "2.9.2", "integrity": "sha1-F3Oo9LnE1qwxVj31Oz/B15Ri/kE=", + "dev": true, "license": "MIT", - "optional": true, "engines": { "node": ">=6" }, @@ -2687,8 +2687,8 @@ "node_modules/core-util-is": { "version": "1.0.3", "integrity": "sha1-pgQtNjTCsn6TKPg3uWX6yDgI24U=", - "license": "MIT", - "optional": true + "dev": true, + "license": "MIT" }, "node_modules/cross-spawn": { "version": "7.0.6", @@ -3592,8 +3592,8 @@ "node_modules/get-east-asian-width": { "version": "1.6.0", "integrity": "sha1-IWkA+R3xGossGYw+HZPWwDWndrk=", + "dev": true, "license": "MIT", - "optional": true, "engines": { "node": ">=18" }, @@ -3833,7 +3833,7 @@ "node_modules/http-proxy-agent": { "version": "7.0.2", "integrity": "sha1-mosfJGhmwChQlIZYX2K48sGMJw4=", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "agent-base": "^7.1.0", @@ -3846,7 +3846,7 @@ "node_modules/https-proxy-agent": { "version": "7.0.6", "integrity": "sha1-2o3+rH2hMLBcK6S1nJts1mYRprk=", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "agent-base": "^7.1.2", @@ -3901,8 +3901,8 @@ "node_modules/immediate": { "version": "3.0.6", "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=", - "license": "MIT", - "optional": true + "dev": true, + "license": "MIT" }, "node_modules/imurmurhash": { "version": "0.1.4", @@ -3928,8 +3928,8 @@ "node_modules/inherits": { "version": "2.0.4", "integrity": "sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w=", - "license": "ISC", - "optional": true + "dev": true, + "license": "ISC" }, "node_modules/ini": { "version": "1.3.8", @@ -4016,8 +4016,8 @@ "node_modules/is-interactive": { "version": "2.0.0", "integrity": "sha1-QMV2FFk4JtoRAK3mBZd41ZfxbpA=", + "dev": true, "license": "MIT", - "optional": true, "engines": { "node": ">=12" }, @@ -4082,8 +4082,8 @@ "node_modules/isarray": { "version": "1.0.0", "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "license": "MIT", - "optional": true + "dev": true, + "license": "MIT" }, "node_modules/isexe": { "version": "2.0.0", @@ -4272,8 +4272,8 @@ "node_modules/jszip": { "version": "3.10.1", "integrity": "sha1-NK7nDrGOofrsL1iSCKFX0f6wkcI=", + "dev": true, "license": "(MIT OR GPL-3.0-or-later)", - "optional": true, "dependencies": { "lie": "~3.3.0", "pako": "~1.0.2", @@ -4348,8 +4348,8 @@ "node_modules/lie": { "version": "3.3.0", "integrity": "sha1-3Pgt7lRfRgdNryAMfBxaCOD0D2o=", + "dev": true, "license": "MIT", - "optional": true, "dependencies": { "immediate": "~3.0.5" } @@ -4585,8 +4585,8 @@ "node_modules/mimic-function": { "version": "5.0.1", "integrity": "sha1-rL4rM0n5m53qyn+3Dki4PpTmcHY=", + "dev": true, "license": "MIT", - "optional": true, "engines": { "node": ">=18" }, @@ -4881,8 +4881,8 @@ "node_modules/onetime": { "version": "7.0.0", "integrity": "sha1-nxbJLYye9RIOOs2d2ZV8zuzBq2A=", + "dev": true, "license": "MIT", - "optional": true, "dependencies": { "mimic-function": "^5.0.0" }, @@ -4931,8 +4931,8 @@ "node_modules/ora": { "version": "8.2.0", "integrity": "sha1-j7u3FRr+M7VA3RU/Fx/6i9OOmGE=", + "dev": true, "license": "MIT", - "optional": true, "dependencies": { "chalk": "^5.3.0", "cli-cursor": "^5.0.0", @@ -4954,8 +4954,8 @@ "node_modules/ora/node_modules/chalk": { "version": "5.6.2", "integrity": "sha1-sSOLbiPqM3r3HH+KKV21rwwViuo=", + "dev": true, "license": "MIT", - "optional": true, "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" }, @@ -4966,14 +4966,14 @@ "node_modules/ora/node_modules/emoji-regex": { "version": "10.6.0", "integrity": "sha1-vz1uj3+P0ipl2XA0dbwBRzV6aw0=", - "license": "MIT", - "optional": true + "dev": true, + "license": "MIT" }, "node_modules/ora/node_modules/is-unicode-supported": { "version": "2.1.0", "integrity": "sha1-CfCrDebTdE1I0mXruY9l0R8qmzo=", + "dev": true, "license": "MIT", - "optional": true, "engines": { "node": ">=18" }, @@ -4984,8 +4984,8 @@ "node_modules/ora/node_modules/log-symbols": { "version": "6.0.0", "integrity": "sha1-u5Xl8FMiZRysMMD+tkBPnyqKlDk=", + "dev": true, "license": "MIT", - "optional": true, "dependencies": { "chalk": "^5.3.0", "is-unicode-supported": "^1.3.0" @@ -5000,8 +5000,8 @@ "node_modules/ora/node_modules/log-symbols/node_modules/is-unicode-supported": { "version": "1.3.0", "integrity": "sha1-2CSYS2FsKSouGYIH1KYJmDhC9xQ=", + "dev": true, "license": "MIT", - "optional": true, "engines": { "node": ">=12" }, @@ -5012,8 +5012,8 @@ "node_modules/ora/node_modules/string-width": { "version": "7.2.0", "integrity": "sha1-tbuOIWXOJ11NQ0dt0nAK2Qkdttw=", + "dev": true, "license": "MIT", - "optional": true, "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", @@ -5077,8 +5077,8 @@ "node_modules/pako": { "version": "1.0.11", "integrity": "sha1-bJWZ00DVTf05RjgCUqNXBaa5kr8=", - "license": "(MIT AND Zlib)", - "optional": true + "dev": true, + "license": "(MIT AND Zlib)" }, "node_modules/parse-json": { "version": "8.3.0", @@ -5319,8 +5319,8 @@ "node_modules/process-nextick-args": { "version": "2.0.1", "integrity": "sha1-eCDZsWEgzFXKmud5JoCufbptf+I=", - "license": "MIT", - "optional": true + "dev": true, + "license": "MIT" }, "node_modules/pump": { "version": "3.0.4", @@ -5470,8 +5470,8 @@ "node_modules/readable-stream": { "version": "2.3.8", "integrity": "sha1-kRJegEK7obmIf0k0X2J3Anzovps=", + "dev": true, "license": "MIT", - "optional": true, "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -5485,8 +5485,8 @@ "node_modules/readable-stream/node_modules/safe-buffer": { "version": "5.1.2", "integrity": "sha1-mR7GnSluAxN0fVm9/St0XDX4go0=", - "license": "MIT", - "optional": true + "dev": true, + "license": "MIT" }, "node_modules/readdirp": { "version": "3.6.0", @@ -5521,8 +5521,8 @@ "node_modules/restore-cursor": { "version": "5.1.0", "integrity": "sha1-B2bZVpnvrLFBUJk/VbrwlT6h6+c=", + "dev": true, "license": "MIT", - "optional": true, "dependencies": { "onetime": "^7.0.0", "signal-exit": "^4.1.0" @@ -5658,8 +5658,8 @@ "node_modules/setimmediate": { "version": "1.0.5", "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", - "license": "MIT", - "optional": true + "dev": true, + "license": "MIT" }, "node_modules/shebang-command": { "version": "2.0.0", @@ -5757,8 +5757,8 @@ "node_modules/signal-exit": { "version": "4.1.0", "integrity": "sha1-lSGIwcvVRgcOLdIND0HArgUwywQ=", + "devOptional": true, "license": "ISC", - "optional": true, "engines": { "node": ">=14" }, @@ -5902,8 +5902,8 @@ "node_modules/stdin-discarder": { "version": "0.2.2", "integrity": "sha1-OQA39ExK4aGuU1xf443Dq6jZl74=", + "dev": true, "license": "MIT", - "optional": true, "engines": { "node": ">=18" }, @@ -5914,8 +5914,8 @@ "node_modules/string_decoder": { "version": "1.1.1", "integrity": "sha1-nPFhG6YmhdcDCunkujQUnDrwP8g=", + "dev": true, "license": "MIT", - "optional": true, "dependencies": { "safe-buffer": "~5.1.0" } @@ -5923,8 +5923,8 @@ "node_modules/string_decoder/node_modules/safe-buffer": { "version": "5.1.2", "integrity": "sha1-mR7GnSluAxN0fVm9/St0XDX4go0=", - "license": "MIT", - "optional": true + "dev": true, + "license": "MIT" }, "node_modules/string-width": { "version": "4.2.3", @@ -6536,8 +6536,8 @@ "node_modules/util-deprecate": { "version": "1.0.2", "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", - "license": "MIT", - "optional": true + "dev": true, + "license": "MIT" }, "node_modules/uuid": { "version": "14.0.0", diff --git a/package.json b/package.json index 75eaf159e8..4d06b2716e 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,7 @@ "vscode-languageserver-protocol": "^3.18.0" }, "devDependencies": { + "@vscode/test-electron": "^3.1.0", "@vscode/vsce": "^3.9.2", "esbuild": "^0.28.1" }, @@ -79,7 +80,6 @@ "@ungap/structured-clone": "^1.3.1", "@vscode/debugprotocol": "^1.68.0", "@vscode/test-cli": "^0.0.12", - "@vscode/test-electron": "^2.5.2", "esbuild-register": "^3.6.0", "eslint": "^10.5.0", "eslint-config-prettier": "^10.1.8",