Skip to content

cody/cap 5162 pnpm workspace aliases lose identity in the dependency graph - #1507

Closed
codykaup wants to merge 1 commit into
cody/cap-5161-pnpm-12-multi-document-pnpm-lockyaml-fails-to-parse-sofrom
cody/cap-5162-pnpm-workspace-aliases-lose-identity-in-the-dependency-graph
Closed

codykaup wants to merge 1 commit into
cody/cap-5161-pnpm-12-multi-document-pnpm-lockyaml-fails-to-parse-sofrom
cody/cap-5162-pnpm-workspace-aliases-lose-identity-in-the-dependency-graph

Conversation

@codykaup

@codykaup codykaup commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Stack created with GitHub Stacks CLI • Give Feedback 💬

📦 Published PR as canary version: 18.9.7--canary.1507.36445907741.0

✨ Test out this PR locally via:

npm install chromatic@18.9.7--canary.1507.36445907741.0
# or 
yarn add chromatic@18.9.7--canary.1507.36445907741.0

@codykaup
codykaup added this pull request to stack #1506 September 25, 2026 20:00
@github-actions

github-actions Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

📦 Package Size: 5900 KB
✅ Compared to main: -1280 KB a15b8b4 (7180 KB)

@codecov

codecov Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.93%. Comparing base (547869f) to head (1014591).

Additional details and impacted files
@@                                           Coverage Diff                                            @@
##           cody/cap-5161-pnpm-12-multi-document-pnpm-lockyaml-fails-to-parse-so    #1507      +/-   ##
========================================================================================================
+ Coverage                                                                 86.91%   86.93%   +0.01%     
========================================================================================================
  Files                                                                       274      274              
  Lines                                                                      5512     5517       +5     
  Branches                                                                   1497     1495       -2     
========================================================================================================
+ Hits                                                                       4791     4796       +5     
  Misses                                                                      635      635              
  Partials                                                                     86       86              

☔ 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.

A `link:` dependency is resolved through the parser's project map, which
only held the importer being parsed. Every link fell back to the version
'undefined', so pointing an alias such as `theme: workspace:red@*` at
another workspace package produced the same graph node and TurboSnap saw
no change.

Seed the map with every importer, using the importer path as the version.
The target's real version would not tell two packages at the same version
apart, and the path needs nothing read from the target's manifest at HEAD
or the baseline.
@codykaup
codykaup force-pushed the cody/cap-5162-pnpm-workspace-aliases-lose-identity-in-the-dependency-graph branch from d7e4508 to 1014591 Compare September 28, 2026 15:44
@codykaup

Copy link
Copy Markdown
Contributor Author

So I'm not sure if this case is going to get hit or not. I'm going to close it until we see cases like this in the real world.

@codykaup codykaup closed this Sep 28, 2026
An error occurred while trying to automatically change base from cody/cap-5161-pnpm-12-multi-document-pnpm-lockyaml-fails-to-parse-so to main September 28, 2026 17:25
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.

1 participant