Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AOSD transitive linking #9621

Merged
merged 2 commits into from
Dec 17, 2024
Merged

Fix AOSD transitive linking #9621

merged 2 commits into from
Dec 17, 2024

Conversation

sschuberth
Copy link
Member

Please have a look at the individual commit messages for the details.

Reduce nesting by returning early for an invalid `maxDepth`.

Signed-off-by: Sebastian Schuberth <[email protected]>
Change finding nodes from depth- to breadth-first for a more compact
implementation. This also fixes a bug of the original implementation
which "swallowed" the return value of `traverse()` calls which resulted
in the `linking` of transitive dependencies to be wrong.

Signed-off-by: Sebastian Schuberth <[email protected]>
@sschuberth sschuberth requested a review from a team as a code owner December 16, 2024 15:07
@sschuberth sschuberth enabled auto-merge (rebase) December 16, 2024 15:08
Copy link

codecov bot commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.05%. Comparing base (81f58ea) to head (3bb2ef4).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #9621   +/-   ##
=========================================
  Coverage     68.05%   68.05%           
  Complexity     1285     1285           
=========================================
  Files           249      249           
  Lines          8835     8835           
  Branches        921      921           
=========================================
  Hits           6013     6013           
  Misses         2433     2433           
  Partials        389      389           
Flag Coverage Δ
funTest-docker 65.14% <ø> (ø)
funTest-non-docker 33.31% <ø> (ø)
test-ubuntu-24.04 35.84% <ø> (ø)
test-windows-2022 35.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sschuberth sschuberth merged commit 4b1fb5d into main Dec 17, 2024
26 checks passed
@sschuberth sschuberth deleted the aosd-fix-linking branch December 17, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants