indexer: align affectedManifests call with matcher definitions#1514
Open
indexer: align affectedManifests call with matcher definitions#1514
Conversation
5a04fb9 to
8e13b8b
Compare
crozzy
commented
Apr 9, 2025
8e13b8b to
8974b60
Compare
crozzy
commented
Apr 9, 2025
crozzy
commented
Apr 9, 2025
crozzy
commented
Apr 9, 2025
crozzy
commented
Apr 9, 2025
crozzy
commented
Apr 9, 2025
crozzy
commented
Apr 9, 2025
be269df to
1d486b5
Compare
crozzy
commented
Apr 9, 2025
c8d5d0b to
aff1b5f
Compare
Contributor
Author
|
Execution Time not representative as it's from a small instance, but the output is still useful |
aff1b5f to
2821073
Compare
f20042c to
6b8bff1
Compare
Member
|
What's the thinking on splitting the tests across two different packages? |
Contributor
Author
The idea is that any tests that call "meta" code should be at the root level |
This change attempts to make the matching process consistent across both the vulnerability matching and the manifest matching that is performed by the affectedManifests logic. It reduces the number of queries to 1 per matcher per vulnerability. Signed-off-by: crozzy <joseph.crosland@gmail.com>
Tests that do integration like behaviour should be in the root /test directory. Signed-off-by: crozzy <joseph.crosland@gmail.com>
Incidental import formats. Signed-off-by: crozzy <joseph.crosland@gmail.com>
6b8bff1 to
4e00e99
Compare
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.
This change attempts to make the matching process consistent across both the vulnerability matching and the manifest matching that is performed by the affectedManifests logic. It reduces the number of queries to 1 per matcher per vulnerability.