Skip to content

fix(core): order pkg.pr.new canary publishes by dependency#4458

Merged
ScriptedAlchemy merged 1 commit intomainfrom
cursor/canary-dependency-versioning-a0bd
Feb 17, 2026
Merged

fix(core): order pkg.pr.new canary publishes by dependency#4458
ScriptedAlchemy merged 1 commit intomainfrom
cursor/canary-dependency-versioning-a0bd

Conversation

@ScriptedAlchemy
Copy link
Copy Markdown
Member

Description

This PR ports key improvements from #4320 to the pkg-pr-new GitHub workflow.
It addresses two main areas for canary releases:

  1. Dependency-aware publishing: Ensures that fixed Changesets packages are published in the correct topological order, respecting internal monorepo dependencies. This prevents issues where dependent packages might be published before their dependencies during a canary release.
  2. SHA-based comments: Adds the --commentWithSha flag to pkg.pr.new publish commands. This uses the commit SHA in release comments, preventing stale alias resolution and ensuring proper versioning for canary releases.

Related Issue

Ported from changes in #4320.

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

Open in Cursor Open in Web

Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
@cursor
Copy link
Copy Markdown

cursor bot commented Feb 17, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 17, 2026

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 6adda9a
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/6994d93121c4960008df1287
😎 Deploy Preview https://deploy-preview-4458--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link
Copy Markdown
Contributor

Bundle Size Report

No bundle size changes detected.

Total dist: 6.89 MB (no change)
Total ESM gzip: 138.6 kB (no change)

@ScriptedAlchemy ScriptedAlchemy changed the title Canary dependency versioning fix(core): order pkg.pr.new canary publishes by dependency Feb 17, 2026
@ScriptedAlchemy ScriptedAlchemy marked this pull request as ready for review February 17, 2026 21:45
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Feb 17, 2026

Open in StackBlitz

@module-federation/devtools

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/devtools@4458

@module-federation/cli

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/cli@4458

create-module-federation

pnpm add https://pkg.pr.new/module-federation/core/create-module-federation@4458

@module-federation/data-prefetch

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/data-prefetch@4458

@module-federation/dts-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/dts-plugin@4458

@module-federation/enhanced

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/enhanced@4458

@module-federation/error-codes

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/error-codes@4458

@module-federation/managers

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/managers@4458

@module-federation/manifest

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/manifest@4458

@module-federation/metro

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/metro@4458

@module-federation/metro-plugin-rnc-cli

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/metro-plugin-rnc-cli@4458

@module-federation/metro-plugin-rnef

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/metro-plugin-rnef@4458

@module-federation/modern-js-v3

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/modern-js-v3@4458

@module-federation/retry-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/retry-plugin@4458

@module-federation/rsbuild-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/rsbuild-plugin@4458

@module-federation/rspack

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/rspack@4458

@module-federation/rspress-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/rspress-plugin@4458

@module-federation/runtime

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/runtime@4458

@module-federation/runtime-core

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/runtime-core@4458

@module-federation/runtime-tools

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/runtime-tools@4458

@module-federation/sdk

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/sdk@4458

@module-federation/third-party-dts-extractor

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/third-party-dts-extractor@4458

@module-federation/treeshake-frontend

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/treeshake-frontend@4458

@module-federation/treeshake-server

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/treeshake-server@4458

@module-federation/webpack-bundler-runtime

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/webpack-bundler-runtime@4458

@module-federation/bridge-react

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/bridge-react@4458

@module-federation/bridge-react-webpack-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/bridge-react-webpack-plugin@4458

@module-federation/bridge-shared

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/bridge-shared@4458

@module-federation/bridge-vue3

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/bridge-vue3@4458

@module-federation/inject-external-runtime-core-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/inject-external-runtime-core-plugin@4458

commit: 6adda9a

@ScriptedAlchemy ScriptedAlchemy merged commit 7e920c2 into main Feb 17, 2026
27 of 28 checks passed
@ScriptedAlchemy ScriptedAlchemy deleted the cursor/canary-dependency-versioning-a0bd branch February 17, 2026 22:43
@2heal1 2heal1 mentioned this pull request Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants