Skip to content

Fix split package publishing flows - #6020

Closed
Bharat Middha (bmiddha) wants to merge 2 commits into
microsoft:mainfrom
bmiddha:bharatmiddha-microsoft-investigate-publishing-pipelines
Closed

Fix split package publishing flows#6020
Bharat Middha (bmiddha) wants to merge 2 commits into
microsoft:mainfrom
bmiddha:bharatmiddha-microsoft-investigate-publishing-pipelines

Conversation

@bmiddha

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

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>
@bmiddha
Bharat Middha (bmiddha) force-pushed the bharatmiddha-microsoft-investigate-publishing-pipelines branch from d6c6a0c to 34379a2 Compare September 9, 2026 00:30
@bmiddha

Copy link
Copy Markdown
Member Author

Replaced by a PR from the upstream bmiddha/fix-split-publishing branch.

@github-project-automation github-project-automation Bot moved this from Needs triage to Closed in Bug Triage Sep 9, 2026
@bmiddha
Bharat Middha (bmiddha) deleted the bharatmiddha-microsoft-investigate-publishing-pipelines branch September 9, 2026 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

1 participant