Skip to content

Fix split package publishing flows - #6021

Open
Bharat Middha (bmiddha) wants to merge 4 commits into
mainfrom
bmiddha/fix-split-publishing
Open

Fix split package publishing flows#6021
Bharat Middha (bmiddha) wants to merge 4 commits into
mainfrom
bmiddha/fix-split-publishing

Conversation

@bmiddha

@bmiddha Bharat Middha (bmiddha) commented Sep 9, 2026

Copy link
Copy Markdown
Member

Summary

Restore the publishing behavior that was lost when the Rush and non-Rush flows were split.

  • Partition change files so each bump pipeline consumes only its own cohort
  • Pack non-Rush packages using the former broad-pack behavior, then retain only unpublished non-Rush tarballs
  • Read the registry from common/config/rush/.npmrc-publish
  • Fail version-bump runs that produce changes without package tarballs
  • Allow ESRP recovery publishing from a specific bump pipeline run ID
  • Configure repository npm operations to use the approved feed proxy

Fixes #6017

Root cause

noRush is a pipeline cohort label, not a real Rush version policy. Passing it to rush publish --version-policy produced an empty package artifact. Separately, rush version --bump --version-policy rush still applied individual package changes, so both split bump pipelines changed the same packages.

This left @rushstack/node-core-library@5.24.1 merged without a publishable non-Rush artifact.

Recovery

Once this PR is available to the pipeline, queue the non-Rush bump pipeline from this branch. Its artifact will retain unpublished @rushstack/node-core-library@5.24.1. Then queue the non-Rush ESRP pipeline with BumpPipelineRunIdOverride set to that bump run ID.

Restore the old publishing cohort semantics in the split bump pipelines, filter package artifacts through the approved feed proxy, and allow recovery publishing from a specific bump run.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use common/config/rush/.npmrc-publish as the single source of truth for package existence checks.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Run the individual package bump before the Rush lockstep bump in the Rush release flow, package both cohorts together, and keep the scheduled non-Rush-only flow isolated.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@bmiddha

Copy link
Copy Markdown
Member Author

@rushstack/node-core-library@5.24.1 and other missed packages have been published via manual run of the release job

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

Labels

None yet

Projects

Status: Needs triage

Development

Successfully merging this pull request may close these issues.

[rush] @microsoft/rush newest version references unreleased @rushstack/node-core-library

1 participant