aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-sat-resolver/src/pool_builder.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-03 19:54:36 +0900
committernsfisis <nsfisis@gmail.com>2026-05-03 19:54:36 +0900
commit756e0b9c18af8b2b5887ae1fb265a03187ca9c00 (patch)
treef9db28d2bbe39e4756521bc29fa50d5782322956 /crates/mozart-sat-resolver/src/pool_builder.rs
parent7057b2332cbad8934c3bfcded70566ce8dc16963 (diff)
downloadphp-mozart-756e0b9c18af8b2b5887ae1fb265a03187ca9c00.tar.gz
php-mozart-756e0b9c18af8b2b5887ae1fb265a03187ca9c00.tar.zst
php-mozart-756e0b9c18af8b2b5887ae1fb265a03187ca9c00.zip
fix(update): unlock new-package deps via repo requires for --with-deps
`expand_with_direct_dependencies` only walked the lock map, so an allow-listed package not yet in the lock (a freshly added root require) contributed nothing to the unlock cascade. The resolver then kept transitive deps pinned to their lock versions and bailed when the new package's require could not be satisfied. Mirror Composer's `PoolBuilder::loadPackage` by also walking inline / composer-repo require lists for not-yet-locked packages. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart-sat-resolver/src/pool_builder.rs')
0 files changed, 0 insertions, 0 deletions