ruby/lib/bundler/resolver
David Rodríguez f3d69bed62
[rubygems/rubygems] Fix resolver hangs when dealing with an incomplete lockfile
While working on locking multiple platforms by default, I got an
infinite resolution loop in one of our resolver specs.

The culprit ended up being that when dealing with lockfile specs with
incomplete dependencies (spec appears in lockfile, but its dependencies
don't), those specs were not being properly expired and that tripped up
resolution.

The issue for some reason only manifests when dealing with multiple
lockfile platforms, that's why it only manifested when working on
locking multiple platforms by default.

https://github.com/rubygems/rubygems/commit/4ca72913bb
2023-04-06 13:07:16 +09:00
..
base.rb [rubygems/rubygems] Fix resolver hangs when dealing with an incomplete lockfile 2023-04-06 13:07:16 +09:00
candidate.rb Merge RubyGems/Bundler master. 2023-01-31 10:49:08 +09:00
incompatibility.rb Merge RubyGems/Bundler master 2022-12-09 16:36:22 +09:00
package.rb Merge RubyGems/Bundler master. 2023-01-31 10:49:08 +09:00
root.rb Migrate our resolver engine to PubGrub 2022-11-12 07:40:31 +09:00
spec_group.rb Migrate our resolver engine to PubGrub 2022-11-12 07:40:31 +09:00