Skip to content

Return suggested version along with recommendation

What does this MR do and why?

Describe in detail what your merge request does and why.

This MR augments Gitlab::Ci::RunnerUpgradeCheck#check_runner_upgrade_status so that it returns a tuple of { <status>: <version> } instead of simply <status>. This makes it easier to reason about specs, and also will allow surfacing this information in the UI later on.

Closes #366177 (closed)

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

The specs should cover all the scenarios that need testing.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading