Project

General

Profile

« Previous | Next » 

Revision f3d69bed

Added by deivid (David Rodríguez) about 2 years ago

[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