Skip to content

Bug: depMgt in manager was "last wins" instead of "first wins"#1702

Merged
cstamas merged 1 commit intoapache:masterfrom
cstamas:depMgt-dupe
Dec 9, 2025
Merged

Bug: depMgt in manager was "last wins" instead of "first wins"#1702
cstamas merged 1 commit intoapache:masterfrom
cstamas:depMgt-dupe

Conversation

@cstamas
Copy link
Member

@cstamas cstamas commented Dec 9, 2025

The dependency manager since commit 51a3de6 (2.0.11+) had a bug to detect just added entries, and it resulted in "last wins" logic.

This PR fixes the issue and adds UT ensuring "first wins".

Still, we are uncovered in tests (seems we are biased), as we have no "duplicate entries in depMgt"-like tests as all!

The dependency manager since commit
51a3de6 (2.0.1+)
had a bug to detect just added entries, and it resulted
in "last wins" logic.
@cstamas cstamas added this to the 2.0.14 milestone Dec 9, 2025
@cstamas cstamas self-assigned this Dec 9, 2025
@cstamas cstamas added the bug Something isn't working label Dec 9, 2025
@cstamas cstamas marked this pull request as ready for review December 9, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants