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
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.