Skip to content

Add ID of runner owner group in ci_running_builds

What does this MR do and why?

This MR adds a runner_owner_namespace_xid column to ci_running_builds, as well as an index on runner_type, runner_owner_namespace_xid, and runner_id, which will be used in #437849 (closed).

Currently, the runner_owner_namespace_xid column will hold the ID of the group associated with the group runner that is running the job. Later on, we might want to use the same column to store a project ID, in the case of a project runner.

Changelog: added

Closes #452180 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

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

n/a

How to set up and validate locally

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

n/a

Edited by Pedro Pombeiro

Merge request reports