From a9b80907286bb74506fc2bfcc22f3d9ce6924472 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 3 May 2026 19:08:30 +0900 Subject: fix(resolver): load inline type:package entries by name, not eagerly Mirror Composer's PackageRepository (extends ArrayRepository) which only emits packages whose own name matches a queried name. Eager-loading every inline package let the SAT resolver pick a replacer that nothing required by name, masking broken transitive dependencies. Co-Authored-By: Claude Opus 4.7 (1M context) --- crates/mozart/tests/installer.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'crates/mozart/tests') diff --git a/crates/mozart/tests/installer.rs b/crates/mozart/tests/installer.rs index b5e4026..ce3ea4a 100644 --- a/crates/mozart/tests/installer.rs +++ b/crates/mozart/tests/installer.rs @@ -226,7 +226,7 @@ installer_fixture!(alias_with_reference, ignore); installer_fixture!(aliased_priority); installer_fixture!(aliased_priority_conflicting); installer_fixture!(aliases_with_require_dev, ignore); -installer_fixture!(broken_deps_do_not_replace, ignore); +installer_fixture!(broken_deps_do_not_replace); installer_fixture!(circular_dependency, ignore); installer_fixture!(circular_dependency2); installer_fixture!(circular_dependency_errors); @@ -320,10 +320,7 @@ installer_fixture!( installer_fixture!(provider_gets_picked_together_with_other_version_of_provided_indirect); installer_fixture!(provider_packages_can_be_installed_if_selected); installer_fixture!(provider_packages_can_be_installed_together_with_provided_if_both_installable); -installer_fixture!( - provider_packages_can_not_be_installed_unless_selected, - ignore -); +installer_fixture!(provider_packages_can_not_be_installed_unless_selected); installer_fixture!(provider_satisfies_its_own_requirement); installer_fixture!(remove_deletes_unused_deps); installer_fixture!(remove_does_nothing_if_removal_requires_update_of_dep); -- cgit v1.3.1