Skip to content

Replace created_via_ui with registration_type field

What does this MR do and why?

Describe in detail what your merge request does and why.

This MR replaces the Ci::Runner#created_via_ui method with an actual ci_runners column, as specified in the blueprint. The default value (0) matches the current method used until now (runner registration token), but we add a new value (:authenticated_user) that will be used by an upcoming service (Ci::Runners:: CreateRunnerService).

Part of #387808 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

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

N/A

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