Skip to content

Filter by refname/branchname backend

What does this MR do and why?

Filter by refname/branchname backend added

Changelog: added

References

Screenshots or screen recordings

Screenrecord
refname

How to set up and validate locally

  1. git pull branch and checkout
  2. start gdk
  3. visit any project
  4. visit http://gdk.test:3000/-/graphql-explorer
  5. paste getjobartifacts query present in text file
  6. query: query.txt

(in my gdk setup)

  1. git pull 367294_filter_by_branch_name and checkout
  2. start gdk
  3. visit project http://gdk.test:3000/gitlab-org/new-project
  4. visit http://gdk.test:3000/-/graphql-explorer
  5. paste getjobartifacts query present in text file
  6. use above query in text file

query plan:

  1. start gdk and run gdk rails c
  2. query=Ci::Build.with_ref_name('main')
  3. query.explain

queryplan screenshots:Screenshot_from_2025-07-31_19-14-31

related issue:#367294

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 🤖 GitLab Bot 🤖

Merge request reports

Loading