Skip to content

devops: add ESRP pipeline for publishing npm alpha versions - #42144

Merged
Yury Semikhatsky (yury-s) merged 3 commits into
microsoft:mainfrom
yury-s:esrp-publish
Aug 5, 2026
Merged

Yury Semikhatsky (yury-s) merged 3 commits into
microsoft:mainfrom
yury-s:esrp-publish

Conversation

@yury-s

Copy link
Copy Markdown
Member

Summary

  • Add .azure-pipelines/publish.yml that builds npm tarballs of all public packages with an -alpha-<commit timestamp> version and releases them via EsrpRelease@11 (contenttype: npm), modeled on the playwright-java ESRP pipeline.
  • Manual trigger only, guarded to main; dist-tag next is baked into each tarball via publishConfig.tag since ESRP publishes without --tag.

@github-actions

This comment has been minimized.

@yury-s
Yury Semikhatsky (yury-s) merged commit 4acdb2f into microsoft:main Aug 5, 2026
48 checks passed
@yury-s
Yury Semikhatsky (yury-s) deleted the esrp-publish branch August 5, 2026 21:40
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Test results for "MCP"

8050 passed, 1284 skipped


Merge workflow run.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

4 flaky ⚠️ [chromium-library] › library/video.spec.ts:736 › screencast › should work with video+trace `@chromium-ubuntu-22.04-arm-node20`
⚠️ [chromium-library] › library/video.spec.ts:736 › screencast › should work with video+trace `@realtime-time-library-chromium-linux`
⚠️ [firefox-library] › library/heap.spec.ts:223 › should not leak workers `@firefox-ubuntu-22.04-node20`
⚠️ [playwright-test] › ui-mode-trace.spec.ts:715 › should indicate current test status `@windows-latest-node22`

51233 passed, 1190 skipped


Merge workflow run.

@r-bedekar

Copy link
Copy Markdown

Hi, I noticed that 1.63.0-alpha-1786107553000 was published by microsoft1es rather than GitHub Actions, and the npm metadata no longer includes provenance or gitHead.

I checked the successful playwright - publish npm Azure status for build #20260807.1 on commit 931121dc6f1ce8d672ce2bd5845220203cb98920. I also compared the 13 public package tarballs with the preceding daily alpha. I did not find any unexplained files, lifecycle hook changes, dependency additions, or suspicious code changes. The differences matched the source commits and expected version updates.

Could you confirm that microsoft1es is the expected npm publisher for this ESRP pipeline? Should manually triggered timestamped alpha releases now use ESRP while scheduled releases continue through GitHub OIDC? Also, is the missing npm provenance and gitHead expected with ESRP, or is public attestation support planned?

Nothing malicious was found. I mainly want to understand the new publishing model so expected releases can be distinguished from unexpected publisher changes. Thanks.

@yury-s

Copy link
Copy Markdown
Member Author

Rizwan Bedekar (@r-bedekar) This is all expected as we are migrating to the new publishing pipeline. If it caused any problems on your end, please file an issue (rather than comment on a closed PR as we normally don't read those).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants