-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Reduce and optimize number of product grading calls using a Chord
#12914
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
valentijnscholten
merged 59 commits into
DefectDojo:dev
from
valentijnscholten:perf4-chord-grade
Sep 29, 2025
Merged
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
a1ee613
test cases: fix caching of system settings
valentijnscholten 811f37a
fix tests
valentijnscholten a9b04a3
fix caching for github
valentijnscholten 5ee9aeb
fix caching for github
valentijnscholten 63badef
simplify cache loading
valentijnscholten e99e7d4
post process only when needed
valentijnscholten 348b69c
set tags on (re)import
valentijnscholten 7a9326d
rebase set tags
valentijnscholten d9c4cc4
reduce save with options
valentijnscholten e717d8f
update counts, reduce saves with options
valentijnscholten eda6959
importers: do not save again, but postprocess directly
valentijnscholten 395ac9e
update counts
valentijnscholten 30ad08b
optimize hash_code setting
valentijnscholten 551f153
fix counts
valentijnscholten a285f32
set hash code for new findings in reimport
valentijnscholten 7767089
make smaller second save work
valentijnscholten 8466ed8
make smaller second save work - add no_options
valentijnscholten aec055f
update query counts
valentijnscholten 7029cce
update counts
valentijnscholten 739c844
remove logging
valentijnscholten f2aa5b2
perf3b: compute hash_code on first save
valentijnscholten 44bbb4c
fix cve for reimport
valentijnscholten 3cb5daf
ruff
valentijnscholten ef64887
fix no async
valentijnscholten 10a82ba
Merge remote-tracking branch 'upstream/dev' into perf3-reduce-saves
valentijnscholten 5504c8d
make smaller second save work
valentijnscholten f48b55f
fix cve for reimport
valentijnscholten c714da8
initial
valentijnscholten 2d35637
fix counts
valentijnscholten 6507a93
fix counts
valentijnscholten e2194ab
simplify
valentijnscholten 72e95c3
simplify
valentijnscholten cb2d0e3
refactor to await results
valentijnscholten b9b4815
handle reimport and close old findings
valentijnscholten 26295cb
update query and task counts
valentijnscholten 87e5d45
switch back to chords
valentijnscholten 930792d
simplify
valentijnscholten baac171
respect system settings product grading enabled
valentijnscholten fdcd1ec
finding/test delete grading only if enabled
valentijnscholten a1f0005
optimize asyn_dupe_delete grading
valentijnscholten bd99783
cleanup comments
valentijnscholten 29de952
fix merge artifact
valentijnscholten e303a48
Merge remote-tracking branch 'upstream/dev' into perf4-chord-grade
valentijnscholten 0ec0a3d
Merge remote-tracking branch 'upstream/dev' into perf4-chord-grade
valentijnscholten b64f34b
fix loop
valentijnscholten 98ef20d
simplify loop
valentijnscholten 1a77366
fix reimport loop
valentijnscholten 668ac10
revert settings changes
valentijnscholten 0b8f179
revert settings changes
valentijnscholten cc6b9b1
Merge remote-tracking branch 'upstream/dev' into perf4-chord-grade
valentijnscholten edd5815
update counts
valentijnscholten b3a18e3
Merge remote-tracking branch 'upstream/dev' into perf4-chord-grade
valentijnscholten 4de0f60
extract product grading method call
valentijnscholten d774ac7
cleanup model deletes
valentijnscholten 360b788
product grade logging fix
valentijnscholten 6a2c516
extract chord orchestration into method
valentijnscholten dba9a40
fix model traversal
valentijnscholten 6dae387
Merge remote-tracking branch 'upstream/dev' into perf4-chord-grade
valentijnscholten 5b45aaf
Merge remote-tracking branch 'upstream/dev' into perf4-chord-grade
valentijnscholten File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.