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

Don't re-resolve with prereleases if unlocked gem has no prereleases #7021

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

deivid-rodriguez
Copy link
Member

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

I noticed that sometimes when we fail to resolve, we retry resolution claiming that we'll consider pre-releases for the gem that failed to resolve. However, if that gem has no prereleases, it will fail again in the exact same way since the set of gems considered is the same

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

Only do this retry is there are really some extra prerelease gems that we will start considering the second time.

Make sure the following tasks are checked

@deivid-rodriguez deivid-rodriguez merged commit 41870fb into master Oct 3, 2023
92 checks passed
@deivid-rodriguez deivid-rodriguez deleted the avoid-unnecessary-reresolves branch October 3, 2023 09:42
deivid-rodriguez added a commit that referenced this pull request Oct 13, 2023
Don't re-resolve with prereleases if unlocked gem has no prereleases

(cherry picked from commit 41870fb)
deivid-rodriguez added a commit that referenced this pull request Oct 13, 2023
Don't re-resolve with prereleases if unlocked gem has no prereleases

(cherry picked from commit 41870fb)
deivid-rodriguez added a commit that referenced this pull request Oct 13, 2023
Don't re-resolve with prereleases if unlocked gem has no prereleases

(cherry picked from commit 41870fb)
deivid-rodriguez added a commit that referenced this pull request Oct 16, 2023
Don't re-resolve with prereleases if unlocked gem has no prereleases

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

None yet

1 participant