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

[Performance]: Over 2 minutes for upgrade-interactive resolution phase #5972

Closed
1 task
ildella opened this issue Nov 13, 2023 · 5 comments
Closed
1 task
Labels
bug Something isn't working

Comments

@ildella
Copy link

ildella commented Nov 13, 2023

Self-service

  • I'd be willing to implement a fix

Describe the bug

Since almost 10 days, I :

  1. run yarn upgrade-interactive
  2. select one or more packages to upgrade and press ENTER

Normally, it did take a few seconds in the resolution phase. Now it gets apparently stuck, and finally it resolves in over 2 minutes.

This happens on all my yarn projects. Since at least November 7.

Screenshot from 2023-11-13 14-54-29

To reproduce

Already outlined in the bug description.

Environment

System:
    OS: Linux 6.5 Ubuntu 23.10 23.10 (Mantic Minotaur)
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
  Binaries:
    Node: 20.9.0 - /tmp/xfs-343f3ec0/node
    Yarn: 4.0.1 - /tmp/xfs-343f3ec0/yarn
    npm: 10.2.3 - ~/n/bin/npm
    bun: 1.0.10 - ~/.bun/bin/bun

Additional context

No response

@ildella ildella added the bug Something isn't working label Nov 13, 2023
@lpic10
Copy link

lpic10 commented Nov 14, 2023

looks like: #4327 #5167

@arcanis
Copy link
Member

arcanis commented Nov 14, 2023

Can you try the 4.0.2 (literally just released)? It includes a workaround to avoid paying the getReport cost.

@ildella
Copy link
Author

ildella commented Nov 14, 2023

4.0.2 did it!
I mean it worked properly.

@ildella ildella closed this as completed Nov 14, 2023
@ildella
Copy link
Author

ildella commented Nov 14, 2023

Fixed in 4.0.2

@tcoopman
Copy link

For me, yarn 4.0.2 doesn't fix the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants