[BE] GraphQL for Group Level Dependency Paths

Why are we doing this work

The initial implementation for Support dependency graph visuals (&16815 - closed) added a new dependency_paths field to the Dependency List (project level, group level) and Vulnerability Details page level queries. The dependency paths display in a new side bar, which shown when clicking a "View dependency paths" button.

To improve performance and introduce limits, the Dependency Path list should use pagination.

This issue tracks backend scope to:

  1. Create a new GraphQL query for group dependency paths

Example query:

query groupDependencyPaths {
  group(fullpath: "gitlab-org") {
    dependencyPaths(first: 50, after: "WzEsMiwzLDQsNV0=") {
      path {
        name
        version
       }
    }
  }
}

Discussion at &16815 (comment 2557174974)

Relevant links

Non-functional requirements

  • Documentation:
  • Feature flag:
  • Performance:
  • Testing:

Implementation plan

Verification steps

Edited by 🤖 GitLab Bot 🤖