Default Group Label for Specific Projects
Proposal
Add new policies for each project that will be scheduled and run prior to the daily label inference policy.
Background and Research
@phikai reported that Issues that were labeled with ~search had the devopscreate and ~"group::editor" labels applied by GitLab Bot.
The impacted issues look to be issues without a group label present and have a matching category label which will be used to infer the stage and group label. Examples looking at ~search :
- https://gitlab.com/gitlab-org/gitter/webapp/issues/1510
- gitlab-org/gitlab-docs#167 (closed)
- https://gitlab.com/gitlab-org/gitter/webapp/issues?scope=all&utf8=%E2%9C%93&state=opened&label_name[]=search
- https://gitlab.com/gitlab-org/gitlab-docs/issues?scope=all&utf8=%E2%9C%93&state=opened&label_name[]=search
While I was looking at the examples in the searches, it seemed that there was not a group label on the impacted issues. On an ongoing basis, there will be a comment informing why the labels were inferred but we disabled that for the bulk runs in !199 (merged)
@markglenfletcher had the idea to default group labels for certain projects. Here's some of the mappings from the groups he identified if we want to go that route.
- Gitaly - groupgitaly
- Runner - grouprunner
- Gitter - groupgitter
- Omnibus - groupdistribution
- GitLab CNG - groupdistribution
There is likely more that I'm missing but I started with what I could find and felt confident in