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 root namespaces with AI-supported plans
- have Duo features enabled
References
Related to #576635 (closed)
feature flag: #578113
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
SQL and query plan: !209581 (comment 2844092880)
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
