Frontend bugs without a team label
I'm slightly concerned by the number of frontend bugs without a team label. Even after the auto team labelling via feature labels there still seems to be a large number of frontend labelled bugs that do not fall to a specific team.
Insights helps us to see the number of open bugs in this state:
And the following discovery rule using gitlab-triage
helps to confirm:
resource_rules:
issues:
rules:
- name: Find frontend bugs
conditions:
state: opened
forbidden_labels:
- Manage
- Plan
- Create
- Packaging
- Verify
- Release
- Monitoring
- Quality
- Secure
- Distribution
- Gitaly
- Geo
labels:
- frontend
- bug
CE
===========================================
Triaging the `gitlab-org/gitlab-ce` project
===========================================
---------------------------
Processing rules for issues
---------------------------
---------------------------------------
Processing rule: **Find frontend bugs**
---------------------------------------
[DEBUG] get_url: https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-ce/issues?per_page=100&labels=frontend,bug&state=opened
.......
* Found 681 resources...
* Filtering resources...
* Total after filtering: 138 resources
* Limiting resources...
* Total after limiting: 138 resources
EE
===========================================
Triaging the `gitlab-org/gitlab-ee` project
===========================================
---------------------------
Processing rules for issues
---------------------------
---------------------------------------
Processing rule: **Find frontend bugs**
---------------------------------------
[DEBUG] get_url: https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-ee/issues?per_page=100&labels=frontend,bug&state=opened
.
* Found 57 resources...
* Filtering resources...
* Total after filtering: 11 resources
* Limiting resources...
* Total after limiting: 11 resources
Totals
Project | Number bugs |
---|---|
CE | 138 |
EE | 11 |
Total | 149 |
We can dump the labels for these specific issues using gitlab-triage
to see whether lack of feature labels is also a concern which leads to an inability to infer a team label:
resource_rules:
issues:
rules:
- name: Find frontend bugs
conditions:
state: opened
forbidden_labels:
- Manage
- Plan
- Create
- Packaging
- Verify
- Release
- Monitoring
- Quality
- Secure
- Distribution
- Gitaly
- Geo
labels:
- frontend
- bug
actions:
comment: |
{{labels}}
The results of this is too lengthy to output, but it seems that quite a few of these frontend issues lacking in feature labels. I propose that we formulate a ~"triage-package" to add feature labels and/or team labels to these outstanding issues. Or modify the contents of the existing frontend triage package for S/P labelling to also ask for feature and/or team labels