Repository navigation
Fix Go direct dependency classification - #1876
Closed
Aayush Maini (AMaini503) wants to merge 2 commits into
Closed
Aayush Maini (AMaini503) wants to merge 2 commits into
Aayush Maini (AMaini503) wants to merge 2 commits into
Conversation
added 2 commits
September 21, 2026 13:30
Mark go.mod requirements as explicitly referenced unless they carry the // indirect marker. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b9f67746-b363-43ac-9c8c-764b1890c63c
Increment the detector version because explicit-reference metadata now changes for go.mod dependencies. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b9f67746-b363-43ac-9c8c-764b1890c63c
Aayush Maini (AMaini503)
requested review from
Sebastian Gomez (sebasgomez238)
and
a lite review from Copilot
and removed request for
Copilot
September 21, 2026 20:37
Greg Villicana (grvillic)
approved these changes
Sep 21, 2026
Contributor
Author
|
The snapshot verification failures are expected for this change. The new scan now includes direct Go requirements (for example, \github.com/sirupsen/logrus v1.8.3 - Go) in \�xplicitlyReferencedComponentIds, while the published release snapshot has an empty explicit-reference set for that Go graph. All three platforms report this same intentional metadata difference; the remaining verification tests pass. |
Contributor
Author
|
Superseded by #1877, opened from the upstream repository branch. |
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
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.
Summary
go.modas explicitly referenced unless they have the// indirectmarker.require (...)blocks are always transitive.Fixes #1875
Validation
github.com/google/uuidas a direct dependency andgolang.org/x/textas an indirect dependency.explicitlyReferencedComponentIdswhile the indirect dependency is not.