-
Notifications
You must be signed in to change notification settings - Fork 51
Fix inconsistent RequestedBy Paths for .NET Dependencies #349
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 tasks
itsmeleela
approved these changes
Dec 18, 2025
fluxxBot
pushed a commit
to fluxxBot/build-info-go
that referenced
this pull request
Dec 18, 2025
fluxxBot
pushed a commit
to fluxxBot/build-info-go
that referenced
this pull request
Dec 18, 2025
fluxxBot
pushed a commit
to fluxxBot/build-info-go
that referenced
this pull request
Dec 18, 2025
nitinp19
pushed a commit
to nitinp19/build-info-go
that referenced
this pull request
Dec 22, 2025
nitinp19
pushed a commit
to nitinp19/build-info-go
that referenced
this pull request
Dec 22, 2025
nitinp19
pushed a commit
to nitinp19/build-info-go
that referenced
this pull request
Dec 22, 2025
fluxxBot
added a commit
that referenced
this pull request
Dec 23, 2025
* Fix the request by overriding of direct dependencies (#349) * Rebase dev (#350) * Added support for collecting build info for helm project (#339) * Added support for collecting build info for helm project * Added repo as a field inside dependency struct (#342) * Parse flag for flexpack check (#343) * Poetry native support improvement (#340) * Code optimization (#344) * Code optimization * Code optimization * Fix for Security Violations (#348) --------- Co-authored-by: Naveen Kumar <[email protected]> Co-authored-by: Agrasth Naman <[email protected]> * support-for-conan-build-info-collection (#351) * Supporting Run native behavior for Gradle (#353) * Added support of collecting build info for gradle project with run native command * added support of flexplack for bi gradle. * Revert "Supporting Run native behavior for Gradle (#353)" (#354) This reverts commit 492fa58. --------- Co-authored-by: Bhanu Reddy <[email protected]> Co-authored-by: Naveen Kumar <[email protected]> Co-authored-by: Agrasth Naman <[email protected]> Co-authored-by: reshmifrog <[email protected]> Co-authored-by: nitinp19 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Description:
Fix inconsistent RequestedBy Paths for .NET Dependencies
Summary
This PR fixes a bug where direct dependency attribution for .NET projects was inconsistent across multiple runs of jf audit or Frogbot. The "Direct Dependency" column and impact paths would change unpredictably, even with the same project and source code.
Root Cause
The root cause was non-deterministic Go map iteration order in the dependency resolution code. When a dependency appeared as both direct AND transitive (e.g., Newtonsoft.Json is a direct dependency and also a transitive dependency of NuGet.Core), the RequestedBy paths would be populated in random order across runs, causing:
E2E Tests
jfrog/jfrog-cli#3279