perf(db): add index on sbom_external_node(sbom_id, external_node_ref)#2404
Draft
mrrajan wants to merge 1 commit into
Draft
perf(db): add index on sbom_external_node(sbom_id, external_node_ref)#2404mrrajan wants to merge 1 commit into
mrrajan wants to merge 1 commit into
Conversation
Eliminates sequential scan during external node resolution. Verified: Seq Scan → Index Scan on hosted environment. Implements TC-4750 Assisted-by: Claude Code
Contributor
Reviewer's GuideAdds a new SeaORM migration to create a composite index on sbom_external_node(sbom_id, external_node_ref) and wires it into the migrator so external node resolution can use an index scan instead of a sequential scan. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2404 +/- ##
==========================================
+ Coverage 71.37% 71.39% +0.01%
==========================================
Files 441 442 +1
Lines 26747 26896 +149
Branches 26747 26896 +149
==========================================
+ Hits 19092 19202 +110
- Misses 6541 6565 +24
- Partials 1114 1129 +15 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
|
@mrrajan considering current and ongoing work on 0.4.z (which will push to main) I think this PR can be closed ... do you agree ? |
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.
Eliminates sequential scan during external node resolution. Verified: Seq Scan → Index Scan on hosted environment.
Implements TC-4750
Assisted-by: Claude Code
Summary by Sourcery
Enhancements: