Repository navigation
Add DevDiv pre-release pipeline using pylance-eng templates - #26323
Conversation
Adds build/azure-devdiv-pipeline.pre-release.yml, which extends the microsoft/pylance-eng extension pre-release template and downloads python-environment-tools from DevDiv pipeline 28980 instead of Monaco 591. Adds the MicroBuild signing files the shared signing job expects and excludes packages.config from the VSIX. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b8367f08-e59f-49d2-8861-d378314bc4f6
|
🔒 Automated review in progress — Rich Chiodo (@rchiodo) is auto-reviewing this PR. |
|
Reviewed commit: Result: 🔴 Verification detailsVerification: Automated verification is best effort. The PR author remains responsible for testing. Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: C:\Users\rchiodo\AppData\Local\Programs\Podman\podman.EXE --connection pyrx-automation failed: stderr: Error: unable to start container "8ace136b0647c79d3eb73a7e6023d535b3365d2fb5871251d104f69363b7df8a": crun: open `memory.max` for writing: No such file or directory: OCI runtime attempted to invoke a command that was not found Test runs: none recorded. |
Rich Chiodo (rchiodo)
left a comment
There was a problem hiding this comment.
Approved via Review Center.
There was a problem hiding this comment.
🔵 Needs a closer look
The shared microsoft/pylance-eng template returned 404, leaving signing, packaging, localization, and feed/restore contracts unverified pending human review with template access and a DevDiv dry run.
No open issues 🎉
What changed in this PR
Adds a DevDiv pre-release pipeline using shared microsoft/pylance-eng templates, while leaving the existing Monaco pipeline unchanged until validation is complete.
Changes:
- Preserves the nightly schedule, 10 platform targets, and build steps; publishing defaults to off.
- Switches PET artifact downloads to DevDiv pipeline 28980.
- Adds MicroBuild signing configuration and excludes the package manifest from the VSIX.
| File | Description |
|---|---|
packages.config |
Declares the MicroBuild signing dependency. |
build/sign.proj |
Defines manifest signing and signature-copy targets. |
build/NuGet.config |
Configures the NuGet feed for signing dependencies. |
build/azure-devdiv-pipeline.pre-release.yml |
Adds the shared-template DevDiv pre-release pipeline. |
.vscodeignore |
Excludes packages.config from extension packaging. |
Review effort: Balanced
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b8367f08-e59f-49d2-8861-d378314bc4f6
### What this changes - Enables `publishExtension` by default in the DevDiv pre-release pipeline. Scheduled and manual runs publish unless explicitly opted out. - Deletes `build/azure-pipeline.pre-release.yml` for [Monaco pipeline 300](https://dev.azure.com/monacotools/Monaco/_build?definitionId=300). The Monaco stable pipeline (299) is unchanged. This PR does not disable or delete the Azure DevOps pipeline itself. ### Cutover - [x] #26323 is merged and [DevDiv pipeline 28998](https://dev.azure.com/devdiv/DevDiv/_build?definitionId=28998) uses `main`. - [x] [DevDiv run 16195347](https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=16195347) signed and published version 2026.13.2026120202; all 10 targets are in the Marketplace, and sampled Alpine ARM64 and Windows x64 downloads match the build artifacts. - [ ] Disable Monaco pipeline 300 before merging. - [ ] After merging, verify the first scheduled DevDiv run and publication. ### Validation - Azure DevOps pipeline previews: the default enables the Publish stage; `publishExtension: false` disables it. - `python -m pytest -q -p no:cacheprovider build\test_update_ext_version.py` (21 passed). - The 10 VSIXs from [DevDiv run 16184696](https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=16184696) included the expected PET binaries; runtime checks passed on Windows x64, Windows ARM64, and Linux ARM64. --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b8367f08-e59f-49d2-8861-d378314bc4f6
Adds a DevDiv pre-release pipeline for the extension, built on the shared
microsoft/pylance-engtemplates. This is the same move already made for the Python Environments extension and python-environment-tools (PET). The current Monaco pipeline (build/azure-pipeline.pre-release.yml) is unchanged and will be retired after the DevDiv pipeline is verified.Changes
build/azure-devdiv-pipeline.pre-release.yml(new)azure-pipelines/extension/pre-release.yml@templates(pylance-engmain).main) instead of Monaco 591. Thebin-<target>artifact names are the same.publishExtensiondefaults tofalse. GitHub tag and release creation stay off, as in the current pipeline.build/NuGet.config,build/sign.proj,packages.config. These match the files in Add MicroBuild signing files for DevDiv release pipelines vscode-python-environments#2051.packages.configis excluded from the VSIX;build/**already was.Validation
publishExtensionset tofalseand totrue.Follow-ups
publishExtension=false. That run will also confirm the pip packages install from the template'sDevDiv/debugpyfeed, which replaces theMonaco/vscodefeed.