Skip to content

fix: report versionless workspace name collisions - #2269

Open
brendanjryan wants to merge 1 commit into
changesets:mainfrom
brendanjryan:brendanjryan/fix-workspace-name-collision
Open

fix: report versionless workspace name collisions#2269
brendanjryan wants to merge 1 commit into
changesets:mainfrom
brendanjryan:brendanjryan/fix-workspace-name-collision

Conversation

@brendanjryan

Copy link
Copy Markdown

Motivation

Changesets v3 crashes while validating the dependency graph when a versionless workspace package shares a name with a registry dependency. This masks the actual workspace-name collision.

Fixes wevm/mppx#833.

Summary

  • Detect versionless workspace matches before semver validation and color formatting
  • Report the dependent package, colliding workspace name, and requested range
  • Add regression coverage and patch changesets for the graph package and CLI

Key design considerations

  • Preserve valid workspace aliases and workspace path dependencies
  • Keep bumpVersionsWithWorkspaceProtocolOnly behavior unchanged for registry ranges

@changeset-bot

changeset-bot Bot commented Aug 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 14a5c1e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@changesets/get-dependents-graph Patch
@changesets/cli Patch
@changesets/assemble-release-plan Patch
@changesets/config Patch
@changesets/get-release-plan Patch
@changesets/apply-release-plan Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify

netlify Bot commented Aug 25, 2026

Copy link
Copy Markdown

Deploy Preview for changesets ready!

Name Link
🔨 Latest commit 14a5c1e
🔍 Latest deploy log https://app.netlify.com/projects/changesets/deploys/6a8ce9a6638a7d0008b4badd
😎 Deploy Preview https://deploy-preview-2269--changesets.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.

@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.58%. Comparing base (2eb65ba) to head (14a5c1e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2269      +/-   ##
==========================================
+ Coverage   84.56%   84.58%   +0.01%     
==========================================
  Files          80       80              
  Lines        3174     3178       +4     
  Branches      895      896       +1     
==========================================
+ Hits         2684     2688       +4     
  Misses        433      433              
  Partials       57       57              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@brendanjryan

Copy link
Copy Markdown
Author

👍

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Changesets v3 crashes on workspace package name collisions

1 participant