Skip to content

Do not infer a section for the unlisted stage and its groups

Context

Follow-up of gitlab-com/www-gitlab-com!132396 (merged), where we created an unlisted_stage stage and some groups underneath that stage.

Closes #1456 (closed).

What does this MR do and why?

Our label inference system tries to guess a section from either a stage or a group.

This will end up using the unlisted section, which does not exist!

This MR ensures that we don't return the unlisted section when doing label inference.

Expected impact & dry-runs

Should fix errors seen in #1456 (closed).

Action items

Edited by David Dieulivol

Merge request reports