[go: up one dir, main page]

Skip to content

add project finder for eligible projects

What does this MR do and why?

With ad-hoc indexing of Code Embeddings, we can't rely on the Projects GraphQL query's withCodeEmbeddingsIndexed filter (introduced in !195699 (merged)) to populate the projects in the /include <repository> command. Instead, we should populate the /include <repository> with projects that are eligible for Code Embeddings.

This MR introduces a withDuoEligible filter on the Projects GraphQL query that filters on projects that:

  • have Duo Core / Pro / or Enterprise through their root organizations, AND
  • have Duo features enabled

References

Related to #576635

feature flag: #578113

Screenshots or screen recordings

Before After

How to set up and validate locally

Screenshot_2025-10-21_at_20.16.18

SQL and query plan: !209581 (comment 2838287401)

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.

Edited by Pam Artiaga

Merge request reports

Loading