Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: pnpm-style symlinking (#636) #657

Merged
merged 4 commits into from Sep 29, 2021
Merged

feat: pnpm-style symlinking (#636) #657

merged 4 commits into from Sep 29, 2021

Conversation

netlify-team-account-1
Copy link
Contributor

Contains a reproduction test for pnpm-style symlinking, reported non-working in #636.

@netlify-team-account-1 netlify-team-account-1 added the type: bug code to address defects in shipped code label Sep 16, 2021
@github-actions github-actions bot added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Sep 16, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Sep 16, 2021

⏱ Benchmark results

Comparing with b105692

largeDepsEsbuild: 13s

⬆️ 4.41% increase vs. b105692

^  14.2s                                                                                                  
│   ┌──┐   13.5s   13.2s           13.3s   13.2s                           13.3s                          
│   |  |    ┌──┐    ┌──┐            ┌──┐    ┌──┐                            ┌──┐                    13s   
│   |  |    |  |    |  |            |  |    |  |                            |  |                    ┌──┐  
│ ──┼──┼────┼──┼────┼──┼───11.1s────┼──┼────┼──┼───────────11.7s───11.1s────┼──┼───11.6s────────────|▒▒|──
│   |  |    |  |    |  |    ┌──┐    |  |    |  |   10.8s    ┌──┐    ┌──┐    |  |    ┌──┐            |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    ┌──┐    |  |    |  |    |  |    |  |   10.2s    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    ┌──┐    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
    T-12    T-11    T-10    T-9     T-8     T-7     T-6     T-5     T-4     T-3     T-2     T-1      T    
Legend

largeDepsZisi: 1m 11.4s

⬆️ 5.81% increase vs. b105692

^ 1m 14.8s                                                                 1m 14s                         
│   ┌──┐  1m 11.3s1m 9.5s         1m 12.5s1m 11.3s                          ┌──┐                  1m 11.4s
│   |  |    ┌──┐    ┌──┐            ┌──┐    ┌──┐                            |  |  1m 6.9s           ┌──┐  
│ ──┼──┼────┼──┼────┼──┼──1m 2.7s───┼──┼────┼──┼───────────1m 3s────────────┼──┼────┌──┐────────────|▒▒|──
│   |  |    |  |    |  |    ┌──┐    |  |    |  |    59s     ┌──┐   58.2s    |  |    |  |   59.9s    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    ┌──┐    |  |    ┌──┐    |  |    |  |    ┌──┐    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
    T-12    T-11    T-10    T-9     T-8     T-7     T-6     T-5     T-4     T-3     T-2     T-1      T    
Legend

@eduardoboucas
Copy link
Member

@netlify-team-account-1 what's the status of this one?

@netlify-team-account-1
Copy link
Contributor Author

netlify-team-account-1 commented Sep 29, 2021

This is the test that was originally added a while ago to reproduce #636 (the issue we paired on). We found that this reproduction doesn't correctly capture the real issue - but the test may still be useful to prevent future bugs, so why not merge it.

@eduardoboucas
Copy link
Member

This is the test that was originally added a while ago to reproduce #636 (the issue we paired on). We found that this reproduction doesn't correctly capture the real issue - but the test may still be useful to prevent future bugs, so why not merge it.

Sounds good!

opts: { config: { '*': { nodeBundler: bundler } } },
})

// eslint-disable-next-line import/no-dynamic-require, node/global-require
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to remove these once we land #682.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#682 is only about fixtures, not about test code. We could add // eslint-disable-file import/no-dynamic-require, node/global-require to the top of this file instead of line-by-line, though!

@kodiakhq kodiakhq bot merged commit a6d6abb into main Sep 29, 2021
@kodiakhq kodiakhq bot deleted the fix-636 branch September 29, 2021 15:58
@erlandsona
Copy link

Curious if this also solves for this issue with regular npm?

@Skn0tt
Copy link
Member

Skn0tt commented Jul 4, 2022

Not sure what issue you're referring to - if there's already an issue for it in this repository, could you link it? If not, feel free to open one :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge type: bug code to address defects in shipped code type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants