Skip to content

Add npm-only release recovery mode - #11627

Merged
Heejae Chang (heejaechang) merged 4 commits into
microsoft:mainfrom
heejaechang:fix/update-pyright-esrp-approver
Aug 12, 2026
Merged

Heejae Chang (heejaechang) merged 4 commits into
microsoft:mainfrom
heejaechang:fix/update-pyright-esrp-approver

Conversation

@heejaechang

@heejaechang Heejae Chang (heejaechang) commented Aug 12, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • replaces the removed ESRP npm approver with [email protected]
  • adds an npmOnly release mode that republishes the original retained npm artifact
  • keeps tagged releases on the existing full mode by default

For npm-only recovery, the operator supplies the release tag and original source build ID. The pipeline verifies that the source build belongs to this release pipeline and exact tag, downloads its retained pyright artifact, installs it, verifies the embedded package version, and runs only ESRP npm publication. It does not rebuild or republish the VSIX or create another GitHub release.

Validation

  • npm run check
  • git diff --check
  • verified [email protected] resolves to a valid Microsoft Entra identity
  • rehearsed recovery against build 14944137: pipeline 22838, tag 1.1.412, commit fceca4d1, retained pyright.tgz version 1.1.412

Azure local-YAML preview could not be run because the caller lacks the EditBuild permission required for modified-YAML previews.

@rchiodo

Copy link
Copy Markdown
Collaborator

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

@rchiodo Rich Chiodo (rchiodo) added the review-auto:changes-requested Automated review: posted blocking findings to address. label Aug 12, 2026

@rchiodo Rich Chiodo (rchiodo) left a comment

Copy link
Copy Markdown
Collaborator

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 review-auto:approved Automated review: no blocking findings (approval posted). and removed review-auto:changes-requested Automated review: posted blocking findings to address. labels Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved via Review Center.

@heejaechang
Heejae Chang (heejaechang) merged commit a00422a into microsoft:main Aug 12, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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