Draft: Resolve "Add source as filter on Jobs GraphQL"
What does this MR do and why?
Adds GraphQL filtering on jobs by their source, leveraging the Ci::BuildSource
model. This model stores the build source (when present), and indexes the build's pipeline source. The source
property is defined as the build source when present; otherwise, the pipeline's source.
TODO
- Create GraphQL filter as in !165777 (closed)
- Redefine
Ci::Build
scope using theCi::BuildSource
table - Review !151465 (merged) - overlapping concerns
- Document select queries
Related to #481907
Edited by Aaron Huntsman