Refactor runner pagination to simplify code
What does this MR do and why?
This refactor changes the pagination component used by runners to make better use of keyset pagination properties.
It makes page changes easier and prevents issues when/if items in the list are removed on the fly. Used by: !93473 (merged)
Screenshots or screen recordings
No visual changes are expected, this is the component updated:
How to set up and validate locally
- (optional) Create more dummy runners with the following command
gitlab-runner register --url http://gdk.test:3000/ --registration-token <YOUR_RUNNER_REGISTRATION_TOKEN>- --executor shell --description instance-runner -n
- Find the registration token https://docs.gitlab.com/runner/register/#requirements
- Visit the Admin -> Runners page
- Paginate between different pages, clicking Next or Prev.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #339525 (closed)
Edited by Miguel Rincon