Filter by refname/branchname backend
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
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
- git pull branch and checkout
- start gdk
- visit any project
- visit http://gdk.test:3000/-/graphql-explorer
- paste getjobartifacts query present in text file
- query: query.txt
(in my gdk setup)
- git pull 367294_filter_by_branch_name and checkout
- start gdk
- visit project http://gdk.test:3000/gitlab-org/new-project
- visit http://gdk.test:3000/-/graphql-explorer
- paste getjobartifacts query present in text file
- use above query in text file
query plan:
- start gdk and run gdk rails c
- query=Ci::Build.with_ref_name('main')
- query.explain
queryplan screenshots:
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 🤖
