Change runner "configuration" status to offline immediately if a runner manager is unregistered and no other managers are attached
Overview
In this issue, a customer noted the current behavior of unregistering a runner created with a glrt
token was unclear as the "runner" configuration in the GitLab UI still listed the runner status as online.
Proposal
- Change the runner status to 'offline` immediately if a runner manager is unregistered and there are no other runner managers attached to the configuration that are online.
Example
In this screenshot, the previously attached runner manager
(installed via Helm chart on Kubernetes) was uninstalled. There are no additional runner managers
attached to the configuration. However, the runner, runner configuration
status will show online until 120 minutes has expired since the last contact of a runner.
Edited by Darren Eastman