Skip to content

Draft: Resolve "Add source as filter on Jobs GraphQL"

Aaron Huntsman requested to merge ahuntsman/graphql-filter-jobs-by-source into master

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 the Ci::BuildSource table
  • Review !151465 (merged) - overlapping concerns
  • Document select queries

Related to #481907

Edited by Aaron Huntsman

Merge request reports

Loading