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

Fix another performance regression in the resolver #4243

Merged
merged 2 commits into from Jan 7, 2021

Conversation

deivid-rodriguez
Copy link
Member

What was the end-user or developer problem that led to this PR?

Resolver performance has degraded so much after adding our multiplatform fixes that in some cases that resolving can no longer finish on a reasonable time.

What is your fix for the problem, implemented in this PR?

My fix is to make sure we only add a "ruby fallback" spec group when necessary, namely, when the dependencies of the platform specific version of a spec group are different from the dependencies of the RUBY version of it.

I tested locally and it seems to work fine, but still needs to go through the full CI check.

Fixes #4240.

Make sure the following tasks are checked

Only add a fallback ruby specific group if the dependencies for the
platform specific spec group different from the ones for the ruby group.
@deivid-rodriguez deivid-rodriguez marked this pull request as ready for review January 6, 2021 19:05
@tooss367
Copy link

tooss367 commented Jan 7, 2021

fix_resolver_slowdown

@tooss367
Copy link

tooss367 commented Jan 7, 2021

@deivid-rodriguez deivid-rodriguez merged commit bb292e0 into master Jan 7, 2021
@deivid-rodriguez deivid-rodriguez deleted the fix_resolver_slowdown branch January 7, 2021 11:52
@tooss367
Copy link

tooss367 commented Jan 7, 2021 via email

deivid-rodriguez added a commit that referenced this pull request Jan 11, 2021
Fix another performance regression in the resolver

(cherry picked from commit bb292e0)
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.

bundle install does not complete
3 participants