Skip to content

[pull] master from gradle:master#135

Merged
pull[bot] merged 3 commits intosysfce2:masterfrom
gradle:master
Sep 5, 2025
Merged

[pull] master from gradle:master#135
pull[bot] merged 3 commits intosysfce2:masterfrom
gradle:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Sep 5, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

jvandort and others added 3 commits July 16, 2025 19:55
After #33925, we follow up with some refactorings. Most importantly, we clean up
visitOutgoingDependencies and excludesSameDependenciesAsPreviousTraversal, which were two
very coupled methods. excludesSameDependenciesAsPreviousTraversal performed side-effects
which anticipated what visitOutgoingDependencies would do with its return value.

This sort of coupling is confusing to follow and maintain. We inline and refactor some logic
to make the logic easier to follow and maintain.
In some instance when visiting a node's dependencies, if we've already visited that node's dependencies,
we short-circuit and only visit a subset of dependencies. However, when visiting this subset we used
the old exclusion filter, even if it changes.

This commit ensures we use the most up-to-date and correct resolution filter when visiting this subset
of dependencies
@pull pull bot locked and limited conversation to collaborators Sep 5, 2025
@pull pull bot added the ⤵️ pull label Sep 5, 2025
@pull pull bot merged commit 93ac04f into sysfce2:master Sep 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants