Skip to content

Fix npm recovery build lookup URL - #11630

Merged
Heejae Chang (heejaechang) merged 4 commits into
microsoft:mainfrom
heejaechang:fix/npm-recovery-source-build-url
Aug 12, 2026
Merged

Heejae Chang (heejaechang) merged 4 commits into
microsoft:mainfrom
heejaechang:fix/npm-recovery-source-build-url

Conversation

@heejaechang

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

Copy link
Copy Markdown
Collaborator

Summary

  • fixes PowerShell parsing of SOURCE_BUILD_ID before the Builds API query string
  • fixes PowerShell parsing of RELEASE_TAG inside the Git fetch refspec
  • adds npmValidateOnly to exercise artifact recovery and package smoke validation without entering ESRP npm publication

Recovery run 14951826 exposed the Builds API interpolation issue. Pre-merge validation run 14953223 then exposed the same scoped-variable boundary problem in the tag refspec, where PowerShell produced refs/tags//tags/1.1.412.

Validation

  • npm run check
  • git diff --check
  • verified the Builds API URI contains builds/14944137?api-version=7.1
  • executed the corrected refspec against tag 1.1.412; it resolves to fceca4d1
  • npmValidateOnly reaches recovery/validation and cannot enter npm publication

@StellaHuang95

Copy link
Copy Markdown
Collaborator

🔒 Automated review in progress — Stella Huang (@StellaHuang95) is auto-reviewing this PR.

@StellaHuang95

Copy link
Copy Markdown
Collaborator

Please also brace RELEASE_TAG in the recovery git fetch refspec: refs/tags/${env:RELEASE_TAG}:refs/tags/${env:RELEASE_TAG}. The colon is otherwise absorbed into the environment-variable reference.

@StellaHuang95 Stella Huang (StellaHuang95) added the review-auto:changes-requested Automated review: posted blocking findings to address. label 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.

@StellaHuang95 Stella Huang (StellaHuang95) 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

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

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