Filtering by runner upgrade status should rely on runner manager versions
When performing a search for upgrade status, e.g. /admin/runners?upgrade_status[]=AVAILABLE
, the search is currently looking at the runner versions from the ci_runners
table. It should instead look at versions in the ci_runner_machines
table, since versions can vary per runner manager. This means that the Ci::Runner.with_upgrade_status
scope needs to be improved to join with ci_runner_machines
.