From da0800549853260fcec1c831b7f0d4d600ec2ca6 Mon Sep 17 00:00:00 2001 From: Alex Ross <38270282+alexr00@users.noreply.github.com> Date: Wed, 22 Jul 2026 11:53:37 +0200 Subject: [PATCH 1/2] 0.160.0 --- CHANGELOG.md | 10 ++++++++++ package-lock.json | 4 ++-- package.json | 2 +- .../vscode.proposed.chatParticipantAdditions.d.ts | 5 +++++ 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c515aa3b1e..75ca5b2f3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 0.160.0 + +### Changes + +- Added a `"githubIssues.issueCompletionFormatEditor"` setting to control the format of issue completions in the editor, mirroring the existing `"githubIssues.issueCompletionFormatScm"` setting. It defaults to `${issueNumberLabel}`, which inserts only the issue number (e.g. `#421`) so that GitHub's auto-close references keep working. + +### Fixes + +- "Delete local branches" is showing branches that have already been deleted. https://github.com/microsoft/vscode-pull-request-github/issues/8815 + ## 0.158.0 ### Changes diff --git a/package-lock.json b/package-lock.json index b6aa9c1ca5..fab1147663 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-pull-request-github", - "version": "0.158.0", + "version": "0.160.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vscode-pull-request-github", - "version": "0.158.0", + "version": "0.160.0", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 961fc866c8..5ff56c7dfb 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "treeItemMarkdownLabel", "treeViewMarkdownMessage" ], - "version": "0.158.0", + "version": "0.160.0", "publisher": "GitHub", "engines": { "node": ">=20", diff --git a/src/@types/vscode.proposed.chatParticipantAdditions.d.ts b/src/@types/vscode.proposed.chatParticipantAdditions.d.ts index 567c509670..7fe34db11d 100644 --- a/src/@types/vscode.proposed.chatParticipantAdditions.d.ts +++ b/src/@types/vscode.proposed.chatParticipantAdditions.d.ts @@ -331,6 +331,11 @@ declare module 'vscode' { */ result?: string; + /** + * The display name of the model used by the subagent. + */ + modelName?: string; + constructor(description?: string, agentName?: string, prompt?: string, result?: string); } From 124caae5cdf5eeb3b4e822ab29675690f86f3950 Mon Sep 17 00:00:00 2001 From: Alex Ross <38270282+alexr00@users.noreply.github.com> Date: Wed, 22 Jul 2026 12:36:06 +0200 Subject: [PATCH 2/2] Try patch tests --- src/test/runTests.ts | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/src/test/runTests.ts b/src/test/runTests.ts index ed01fcc776..9231d47d6f 100644 --- a/src/test/runTests.ts +++ b/src/test/runTests.ts @@ -1,17 +1,39 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +import { existsSync } from 'fs'; import * as path from 'path'; -import { runTests } from '@vscode/test-electron'; +import { downloadAndUnzipVSCode, runTests } from '@vscode/test-electron'; + +async function downloadVSCodeInsiders(): Promise { + const vscodeExecutablePath = await downloadAndUnzipVSCode('insiders'); + if (process.platform !== 'darwin' || existsSync(vscodeExecutablePath)) { + return vscodeExecutablePath; + } + + // VS Code for macOS no longer keeps the legacy Electron executable name. + const renamedExecutablePath = path.join(path.dirname(vscodeExecutablePath), 'Code - Insiders'); + if (existsSync(renamedExecutablePath)) { + return renamedExecutablePath; + } + + throw new Error(`VS Code executable not found at ${vscodeExecutablePath} or ${renamedExecutablePath}`); +} async function go() { try { const extensionDevelopmentPath = path.resolve(__dirname, '../../../'); const extensionTestsPath = path.resolve(__dirname, './'); + const vscodeExecutablePath = await downloadVSCodeInsiders(); console.log(extensionDevelopmentPath, extensionTestsPath); /** * Basic usage */ await runTests({ - version: 'insiders', + vscodeExecutablePath, extensionDevelopmentPath, extensionTestsPath, launchArgs: ['--disable-extensions'],