Skip to content

Hide runner cost factor fields for runners

What does this MR do and why?

Fix for #415066 (closed)

Hide runner cost factor fields for runners

Runner cost factor fields fields should only be present on Sass runner offered by GitLab SaSS, this change hides them in other cases.

Only GitLab administrators will see these.

Changelog: fixed

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Simulate a .com environment.
  2. Visit Admin -> Runners
  3. Select to edit an Instance runner and confirm the runner has the two cost factor fields.
  4. Visit Admin -> Runners
  5. Select to edit a Project runner and confirm the runner has no cost factor fields.

MR acceptance checklist

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

Related to #415066 (closed)

Edited by Miguel Rincon

Merge request reports