Skip to content

fix(ci): scope headless experimental yarn change to release-headless config#36381

Open
Hotell wants to merge 1 commit into
microsoft:masterfrom
Hotell:ci/fix-headless-experimental-change-scope
Open

fix(ci): scope headless experimental yarn change to release-headless config#36381
Hotell wants to merge 1 commit into
microsoft:masterfrom
Hotell:ci/fix-headless-experimental-change-scope

Conversation

@Hotell

@Hotell Hotell commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Problem

Running the experimental headless release pipeline (azure-pipelines.release-headless-experimental.yml) ends with:

Nothing to bump, skipping publish!

so nothing is published.

Root cause

The pipeline bumps only headless (version-bump --name react-headless-components-preview), which clears headless's disallowedChangeTypes. But the subsequent yarn change is unscoped, so beachball tries to create a prerelease change file for every package changed vs master (the whole feature branch, ~85 packages). It hits a package that disallows prerelease — e.g. @fluentui/react-charts (disallowedChangeTypes: ["major","prerelease"]) — and aborts:

prerelease type is not allowed, aborting

Result: zero change files are written, so beachball publish has nothing to do → "Nothing to bump".

Fix

Scope change‑file generation to the headless beachball config so it only considers the headless package:

- yarn change --type prerelease …
+ yarn change --config scripts/beachball/src/release-headless.config.js --type prerelease …

Verified locally: with the scoped config, yarn change writes exactly one change file (@fluentui/react-headless-components-preview, type prerelease) and skips react-charts/everything else.

Notes

  • The vNext experimental pipeline is not affected: its version-bump --all clears disallowedChangeTypes on all converged packages (including react-charts), and none of the other changed packages disallow prerelease.
  • Same fix is already deployed on the experimental/esm branch for validation.

Draft for review.

…achball config

Unscoped `yarn change --type prerelease` tries to create change files for every package changed vs
master (the whole feature branch) and aborts on packages that disallow `prerelease` (e.g.
@fluentui/react-charts), producing zero change files -> beachball publish reports 'Nothing to bump,
skipping publish!'. Scoping to release-headless.config.js limits change-file generation to the
headless package only.
@github-actions github-actions Bot added the CI label Jul 10, 2026
@github-actions

Copy link
Copy Markdown

📊 Bundle size report

✅ No changes found

@github-actions

Copy link
Copy Markdown

Pull request demo site: URL

@Hotell Hotell marked this pull request as ready for review July 10, 2026 08:28
@Hotell Hotell requested a review from a team as a code owner July 10, 2026 08:28
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