Add offline, stale count to runner admins section
What does this MR do and why?
Fix for #346061 (closed) and #346919 (closed)
Depends on !77752 (merged)
This change adds a offline, stale runners count to the admin page, in order to help admins get more information about their system at a glance.
Changelog: changed
Other technical changes
- Moved our single stat to a wrapper with 3 single stats
- Added GraphQL fixtures and updated tests to use them
Screenshots or screen recordings
before | after |
---|---|
#336405 (closed))
Group runners view (behind feature flag:before | after |
---|---|
-
)
Loading state is represented by a hyphen (
How to set up and validate locally
- With some runners registered and logged in as admin
- Visit the runners admin http://gdk.test:3000/admin/runners
- Verify the total counts above the search bar are correct
#336405 (closed))
For groups (Rollout- Enable feature flag
runner_list_group_view_vue_ui
, with some runners registered to a group and logged in as a group owner admin - Visit the Group -> Runners e.g. http://gdk.test:3000/groups/h5bp/-/runners
- Verify the total counts above the search bar are correct
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 #346061 (closed)
Edited by Miguel Rincon