Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

[ParallelInstaller] Do not deadlock when the lockfile is missing dependencies entirely #5516

Closed
wants to merge 2 commits into from

Conversation

segiddins
Copy link
Member

@segiddins segiddins commented Mar 14, 2017

Closes #5480
Closes #5519

@indirect
Copy link
Member

nice work 👍 @bundlerbot r+

@bundlerbot
Copy link
Collaborator

📌 Commit eefb983 has been approved by indirect

Copy link
Member Author

@segiddins segiddins left a comment

Choose a reason for hiding this comment

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

also need to update existing tests


fatally_missing_specs = missing_dependencies.map(&:last).flatten.map(&:name) - @specs.map(&:name)
return Bundler.ui.warning(warning) if fatally_missing_specs.empty?
raise InstallError, warning.concat("\n\nBundler is unable to continue installing without #{fatal.join(",")} in the lockfile.")
Copy link
Member Author

Choose a reason for hiding this comment

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

use the proper var, fatally_missing_specs

@bundlerbot
Copy link
Collaborator

⌛ Testing commit eefb983 with merge 11c917e...

bundlerbot added a commit that referenced this pull request Mar 15, 2017
…ndirect

[ParallelInstaller] Do not deadlock when the lockfile is missing dependencies entirely

Closes #5480
@bundlerbot
Copy link
Collaborator

💔 Test failed - status-travis

@indirect
Copy link
Member

@segiddins ping

@segiddins
Copy link
Member Author

I've not forgotten about this, just haven't come up with a good way to actually fix it yet 😔

@perlun
Copy link

perlun commented Apr 6, 2017

Ping? Any updates on this? Still running into deadlocks unfortunately. 😢 In my case, removing Gemfile.lock and letting it start from scratch was an acceptable workaround.

@segiddins
Copy link
Member Author

I'll update this PR as soon as progress is made -- I haven't figured out how it should work yet.

@segiddins segiddins closed this Apr 14, 2017
@zirni
Copy link

zirni commented May 8, 2017

Facing the same problem right now. Do you have any on news on this? Thx & Cheers.

EDIT:
Downgrade to bundler 1.9.1 helped me as workaround.

@segiddins
Copy link
Member Author

@zirni try bundler v1.15.0.pre.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants