From d47c86d1d2a572b641a9ce33ddc19921ca49ba72 Mon Sep 17 00:00:00 2001 From: Andy Jordan Date: Tue, 25 Apr 2023 12:52:46 -0700 Subject: [PATCH 1/3] Update CHANGELOG for `v2023.4.1-preview` --- CHANGELOG.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e48f32c75..79b517c7c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # PowerShell Extension Release History +## v2023.4.1-preview +### Tuesday, April 25, 2023 + +#### [vscode-powershell](https://github.com/PowerShell/vscode-powershell) + +- 🐛 🛫 [vscode-powershell #4543](https://github.com/PowerShell/vscode-powershell/pull/4543) - Update startup logic to handle session failure reasons. +- #️⃣ 🙏 [vscode-powershell #4534](https://github.com/PowerShell/vscode-powershell/pull/4534) - Add ESBuild Problem Matcher Extension. (Thanks @JustinGrote!) +- 🐛 🙏 [vscode-powershell #4521](https://github.com/PowerShell/vscode-powershell/pull/4532) - Handle end-of-support PowerShell with error message. +- ✨ 👷 [vscode-powershell #4518](https://github.com/PowerShell/vscode-powershell/pull/4518) - Enable Mocha Test Explorer Integration. (Thanks @JustinGrote!) +- 🐛 🔍 [vscode-powershell #4517](https://github.com/PowerShell/vscode-powershell/pull/4517) - Fix `attachDotnetDebugger` with custom config. (Thanks @fflaten!) +- 🐛 🔍 [vscode-powershell #4516](https://github.com/PowerShell/vscode-powershell/pull/4516) - Add new debug configurations to `package.json`. (Thanks @JustinGrote!) + +#### [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices) v3.8.4 + +- 🐛 🛫 [vscode-powershell #4509](https://github.com/PowerShell/PowerShellEditorServices/pull/2018) - Set session failure with reason when applicable. +- ✨ 📖 [PowerShellEditorServices #2016](https://github.com/PowerShell/PowerShellEditorServices/pull/2016) - Add guide to configure Neovim. (Thanks @csc027!) + ## v2023.4.0-preview ### Wednesday, April 12, 2023 From c09dd9413134ca0b916c10076c969fcd9af60da6 Mon Sep 17 00:00:00 2001 From: Andy Jordan Date: Tue, 25 Apr 2023 12:52:47 -0700 Subject: [PATCH 2/3] Bump version to `v2023.4.1-preview` --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bcca6880b0..0b2b452a1c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "powershell", "displayName": "PowerShell", - "version": "2023.4.0", + "version": "2023.4.1", "preview": false, "publisher": "ms-vscode", "description": "Develop PowerShell modules, commands and scripts in Visual Studio Code!", From ac5584034639aedaec387c1bea34ee4f07876183 Mon Sep 17 00:00:00 2001 From: Andy Jordan Date: Wed, 26 Apr 2023 10:23:07 -0700 Subject: [PATCH 3/3] Skip Binary Module tests for release pipeline --- test/features/DebugSession.test.ts | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/test/features/DebugSession.test.ts b/test/features/DebugSession.test.ts index 0695f57243..b58013aef3 100644 --- a/test/features/DebugSession.test.ts +++ b/test/features/DebugSession.test.ts @@ -430,12 +430,9 @@ describe("DebugSessionFeature", () => { }); describe("DebugSessionFeature E2E", function slowTests() { - this.slow(20000); // Will warn if test takes longer than 10s and show red if longer than 20s - this.timeout(30000); + this.slow(20 * 1000); // Will warn if test takes longer than 10s and show red if longer than 20s + this.timeout(5 * 60 * 1000); // Give it five minutes, some CI is slow! - if (process.platform == "darwin") { - this.timeout(60000); // The MacOS test runner is sloooow in Azure Devops - } before(async () => { // Registers and warms up the debug adapter and the PowerShell Extension Terminal await ensureEditorServicesIsConnected(); @@ -446,7 +443,9 @@ describe("DebugSessionFeature E2E", function slowTests() { let startDebugSession: DebugSession; let stopDebugSession: DebugSession; const interactiveSessionConfig = defaultDebugConfigurations[DebugConfig.InteractiveSession]; - // Asserts dont seem to fire in this event or the event doesnt resolve in the test code flow, so we need to "extract" the values for later use by the asserts + // Asserts don't seem to fire in this event or the event doesn't resolve + // in the test code flow, so we need to "extract" the values for later + // use by the asserts const startDebugEvent = debug.onDidStartDebugSession((newDebugSession) => { startDebugEvent.dispose(); @@ -470,11 +469,18 @@ describe("DebugSessionFeature E2E", function slowTests() { describe("Binary Modules", () => { let binaryModulePath: Uri; - before(async () => { + + before(async function binarySetup() { + if (process.env.BUILD_SOURCEBRANCHNAME === "release") { + // The binary modules tests won't work in the release pipeline + // due to dependency requirements. + this.skip(); + } binaryModulePath = Uri.joinPath(workspace.workspaceFolders![0].uri, "BinaryModule"); BuildBinaryModuleMock(); await ensureEditorServicesIsConnected(); }); + afterEach(async () => { // Cleanup E2E testing state await debug.stopDebugging(undefined);