Skip to content

fix(release): fail fast on invalid web components credentials - #36566

Open
Jane Chu (janechu) wants to merge 1 commit into
microsoft:masterfrom
janechu:users/janechu/implement-wc-release-failsafe
Open

fix(release): fail fast on invalid web components credentials#36566
Jane Chu (janechu) wants to merge 1 commit into
microsoft:masterfrom
janechu:users/janechu/implement-wc-release-failsafe

Conversation

@janechu

Copy link
Copy Markdown
Contributor

Previous Behavior

The web components release could complete build and test work before missing or invalid npm/GitHub credentials failed during publishing.

New Behavior

Non-dry-run releases validate npm identity plus GitHub identity and repository access immediately after dependency installation, before build and publish steps. Validation failures are sanitized so credential values are not logged; dry runs remain unchanged.

Testing

  • yarn nx run-many -t lint type-check test -p scripts-beachball --nxBail --skip-nx-cache
  • yarn nx format:check --files=azure-pipelines.release.web-components.yml,scripts/beachball/src/validateReleaseCredentials.ts,scripts/beachball/src/validateReleaseCredentials.test.ts
  • Exact pipeline validator command smoke-tested with missing credentials to confirm fail-fast execution

No beachball change file is included because no published package changed.

Related Issue(s)

None.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 8069819a-0e6e-450d-9f10-59a2df1b15a0
@janechu
Jane Chu (janechu) requested a review from a team as a code owner August 12, 2026 20:16
@github-actions github-actions Bot added the CI label Aug 12, 2026
@github-actions

Copy link
Copy Markdown

📊 Bundle size report

✅ No changes found

@github-actions

Copy link
Copy Markdown

Pull request demo site: URL

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant