Skip to content

Fix PR package publishing - #65416

Merged
Jake Bailey (jakebailey) merged 2 commits into
microsoft:mainfrom
jakebailey:pr-build-fixes
Nov 9, 2026
Merged

Jake Bailey (jakebailey) merged 2 commits into
microsoft:mainfrom
jakebailey:pr-build-fixes

Conversation

@jakebailey

Copy link
Copy Markdown
Member

As per usual, the success rate of a new pipeline is 0%.

Fix two things:

  • The Wasm package was missing the repository link, which apparently OIDC publishing needs.
  • The PR build report didn't request permission to actually post its reply comment.

Fix both. Maybe next run it'll work/

npm rejects provenance for packages whose repository.url does not match
the repository that built them. The platform packages inherit it from
the main package, but the wasip1 package has its own manifest without
one, so publishing the PR build failed on it.
Creating a comment on a pull request through the issues API needs
pull_requests write access in addition to issues, so the report job
could not post its result.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues remain for the package metadata and build-report permission updates.

No open issues 🎉

What changed in this PR

This PR addresses two configuration gaps in PR package publishing and build reporting.

Changes:

  • Adds repository metadata to the Wasm package for OIDC publishing.
  • Requests pull-request write permission so the build report can post its reply comment.
File Description
packages/​typescript-wasip1-wasm/​package.json Adds the TypeScript Git repository URL to package metadata.
.github/​workflows/​pr-build.yml Adds permission-pull-requests: write to the token request.

Review effort: Balanced

@github-project-automation github-project-automation Bot moved this from Not started to Needs merge in PR Backlog Nov 9, 2026
@jakebailey
Jake Bailey (jakebailey) added this pull request to the merge queue Nov 9, 2026
Merged via the queue into microsoft:main with commit bbcbce9 Nov 9, 2026
34 checks passed
@jakebailey
Jake Bailey (jakebailey) deleted the pr-build-fixes branch November 9, 2026 22:03
@github-project-automation github-project-automation Bot moved this from Needs merge to Done in PR Backlog Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants