From c73185b7f910e77fd97780d5c763501898ce401b Mon Sep 17 00:00:00 2001 From: bschnurr Date: Wed, 22 Apr 2026 12:00:21 -0700 Subject: [PATCH 1/5] Bump version to 2026.4.0 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 490585d9..722d1d05 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "debugpy", "displayName": "Python Debugger", "description": "Python Debugger extension using debugpy.", - "version": "2026.3.0-dev", + "version": "2026.4.0", "publisher": "ms-python", "enabledApiProposals": [ "portsAttributes", From 71a50c0e2c5961f3e5cf8299668fea456c2462fe Mon Sep 17 00:00:00 2001 From: bschnurr Date: Wed, 22 Apr 2026 12:05:48 -0700 Subject: [PATCH 2/5] Add PR guidelines to copilot-instructions.md Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/copilot-instructions.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 8f03f25c..81afb002 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -3,3 +3,9 @@ ## Learnings - Always use `run.executable` (the actual Python binary path) instead of `activatedRun.executable` for interpreter identification in `getInterpreterDetails`, `getSettingsPythonPath`, and `getExecutableCommand`. `activatedRun.executable` may be a wrapper command (e.g. `pixi run python`) set by environment managers like pixi or conda, which breaks the debugger if used as a replacement for the binary. (1) + +## Pull Request Guidelines + +- Every PR must have at least one label (e.g., `debt`, `bug`, `feature`). The "Ensure Required Labels" status check will block merging without one. +- Always enable auto-merge (squash) on PRs after creating them: `gh pr merge --repo microsoft/vscode-python-debugger --squash --auto` +- PRs require approval from someone other than the last pusher before merging. From 811e21a571fb50794525a16168b01c9d667a2795 Mon Sep 17 00:00:00 2001 From: bschnurr Date: Wed, 22 Apr 2026 13:44:13 -0700 Subject: [PATCH 3/5] Fix stable pipeline trigger to only use tags Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- build/azure-devdiv-pipeline.stable.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/build/azure-devdiv-pipeline.stable.yml b/build/azure-devdiv-pipeline.stable.yml index 933c281a..e85f7c31 100644 --- a/build/azure-devdiv-pipeline.stable.yml +++ b/build/azure-devdiv-pipeline.stable.yml @@ -1,8 +1,5 @@ name: Publish Release trigger: - branches: - include: - - release* tags: include: ['*'] pr: none From efa7a582efd97ec9fcd7c46f4350bd008c17e625 Mon Sep 17 00:00:00 2001 From: bschnurr Date: Wed, 22 Apr 2026 13:45:16 -0700 Subject: [PATCH 4/5] Update release agent: tags-only trigger Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/agents/release.agent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/agents/release.agent.md b/.github/agents/release.agent.md index c7329d56..9a4dfe8c 100644 --- a/.github/agents/release.agent.md +++ b/.github/agents/release.agent.md @@ -18,7 +18,7 @@ Start by reading `package.json` to determine the current version. Then confirm w - **Even minor** = stable release (e.g. `2026.4.0` — *example*) - **Odd minor** = pre-release / dev (e.g. `2026.3.0-dev`, `2026.5.0-dev` — *examples*) -- The stable release pipeline (`build/azure-devdiv-pipeline.stable.yml`) triggers on git tags matching `refs/tags/*` +- The stable release pipeline (`build/azure-devdiv-pipeline.stable.yml`) triggers on git tags matching `*` - Tag format: `v` (e.g. `v2026.4.0` — *example*) - Release branch format: `release/.` (e.g. `release/2026.4` — *example*) From 5048244461ba232cd2e2854272234b5438253e9f Mon Sep 17 00:00:00 2001 From: bschnurr Date: Wed, 22 Apr 2026 15:46:44 -0700 Subject: [PATCH 5/5] Narrow stable pipeline tag trigger to v* pattern Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/agents/release.agent.md | 2 +- build/azure-devdiv-pipeline.stable.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/agents/release.agent.md b/.github/agents/release.agent.md index 9a4dfe8c..510b8091 100644 --- a/.github/agents/release.agent.md +++ b/.github/agents/release.agent.md @@ -18,7 +18,7 @@ Start by reading `package.json` to determine the current version. Then confirm w - **Even minor** = stable release (e.g. `2026.4.0` — *example*) - **Odd minor** = pre-release / dev (e.g. `2026.3.0-dev`, `2026.5.0-dev` — *examples*) -- The stable release pipeline (`build/azure-devdiv-pipeline.stable.yml`) triggers on git tags matching `*` +- The stable release pipeline (`build/azure-devdiv-pipeline.stable.yml`) triggers on git tags matching `v*` - Tag format: `v` (e.g. `v2026.4.0` — *example*) - Release branch format: `release/.` (e.g. `release/2026.4` — *example*) diff --git a/build/azure-devdiv-pipeline.stable.yml b/build/azure-devdiv-pipeline.stable.yml index e85f7c31..6e399140 100644 --- a/build/azure-devdiv-pipeline.stable.yml +++ b/build/azure-devdiv-pipeline.stable.yml @@ -1,7 +1,7 @@ name: Publish Release trigger: tags: - include: ['*'] + include: ['v*'] pr: none resources: