Loading
Stop traversing full dependency graph on ingestion
What does this MR do and why?
Sbom::PathFinder now reads top-level ancestors from direct edges, so the transitive rows written by the graph build are unused. Building them needed an exponential route search in exhaustive mode, and they make up about 41% of sbom_graph_paths on GitLab.com.
Changes:
- The build now writes only direct edges, and the flag for the direct-edge lookup is removed.
- The fast_dependency_paths_enabled setting no longer changes the build.
- Removing it from the API needs a deprecation, so it stays.
Related to #593156
Must be re-based after !257547 (merged) and !257548 (merged) are merged.
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.