Skip to content

Add DevDiv pre-release pipeline using pylance-eng templates - #26323

Merged
Eduardo Villalpando Mello (edvilme) merged 2 commits into
mainfrom
devdiv-prerelease-pipeline
Dec 1, 2026
Merged

Eduardo Villalpando Mello (edvilme) merged 2 commits into
mainfrom
devdiv-prerelease-pipeline

Conversation

@edvilme

Copy link
Copy Markdown

Adds a DevDiv pre-release pipeline for the extension, built on the shared microsoft/pylance-eng templates. 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)
    • Extends azure-pipelines/extension/pre-release.yml@templates (pylance-eng main).
    • Keeps the existing nightly schedule, the 10 platform targets and the build steps.
    • Downloads PET from DevDiv pipeline 28980 (latest build from main) instead of Monaco 591. The bin-<target> artifact names are the same.
    • publishExtension defaults to false. GitHub tag and release creation stay off, as in the current pipeline.
  • MicroBuild signing files required by the shared signing job: 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.config is excluded from the VSIX; build/** already was.

Validation

  • ADO pipeline preview returns 200 with publishExtension set to false and to true.
  • The expanded pipeline has 10 build jobs plus Sign, Publish (only when publishing) and SDL. Every build job downloads PET from 28980, and nothing references Monaco.

Follow-ups

  • Create the DevDiv pipeline definition for this YAML and do a run with publishExtension=false. That run will also confirm the pip packages install from the template's DevDiv/debugpy feed, which replaces the Monaco/vscode feed.
  • Disable the Monaco pre-release pipeline and delete its YAML.

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
@edvilme Eduardo Villalpando Mello (edvilme) added the debt Code quality issues label Dec 1, 2026
@rchiodo

Copy link
Copy Markdown

🔒 Automated review in progress — Rich Chiodo (@rchiodo) is auto-reviewing this PR.

@rchiodo

Rich Chiodo (rchiodo) commented Dec 1, 2026 •

Copy link
Copy Markdown

Reviewed commit: 93d179852c9990ccaa884f3d3c954ae8bf165dbf

Result: 🔴 could-not-verify

Verification details

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

@rchiodo Rich Chiodo (rchiodo) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved via Review Center.

@rchiodo Rich Chiodo (rchiodo) added the review-auto:approved Automated review: no blocking findings (approval posted). label Dec 1, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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
@edvilme
Eduardo Villalpando Mello (edvilme) merged commit 489823a into main Dec 1, 2026
121 checks passed
@edvilme
Eduardo Villalpando Mello (edvilme) deleted the devdiv-prerelease-pipeline branch December 1, 2026 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debt Code quality issues review-auto:approved Automated review: no blocking findings (approval posted).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants