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 hang when a lockfile gem does not resolve on the current platform #6070

Merged
merged 2 commits into from
Nov 20, 2022

Conversation

deivid-rodriguez
Copy link
Member

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

If the lock file has incomplete gems for the current platform, and that are impossible to complete, Bundler currently hangs in an infinite loop.

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

This fix detects the infinite loop and raises a proper resolution error.

Fixes #6054.

Make sure the following tasks are checked

@deivid-rodriguez deivid-rodriguez marked this pull request as ready for review November 18, 2022 16:39
@deivid-rodriguez deivid-rodriguez merged commit b4ae885 into master Nov 20, 2022
@deivid-rodriguez deivid-rodriguez deleted the fix-more-hangs branch November 20, 2022 07:43
@tonybruess
Copy link

Thanks for fixing this. When can we expect a release?

@deivid-rodriguez
Copy link
Member Author

Very soon! We're fleshing out the details but should happen in the next hours.

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.

Bundler hangs on resolving dependencies when a dependency does not support the current platform
2 participants