Skip to content

Commit cfa1b98

Browse files
committed
fix(ci): map the recurring app scopes to their area labels
Scopes that PR titles use for apps under packages/apps were missing from the labeler's scopeToArea table. A PR using one of them falls through to the area/uncategorized fallback, and the area label has to be set by hand afterwards. Added are the scopes that clear the bar the table's own comment sets for a new entry, measured over the whole PR history in both title forms the labeler parses, and that have an unambiguous home among the labels that already exist. A scope that clears the bar but has no such home is left out rather than pushed into the nearest label: AGENTS.md asks for a new area/* in that case, which is a separate decision. The homes come from the label descriptions. area/virtualization names cdi, and vm-disk renders a DataVolume while vm-instance renders a VirtualMachine. area/kubernetes is the tenant Kubernetes app, and kubernetes-nodes is the worker half split out of it. area/database is described as managed databases and already lists kafka, so rabbitmq, nats, qdrant and foundationdb sit there without stretching it. vpc renders Vpc and Subnet, and area/networking already names kube-ovn. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <[email protected]>
1 parent cd675e1 commit cfa1b98

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/pr-labeler.yaml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ jobs:
7171
'kafka': 'area/database',
7272
'clickhouse': 'area/database',
7373
'mongodb': 'area/database',
74+
'rabbitmq': 'area/database',
75+
'nats': 'area/database',
76+
'qdrant': 'area/database',
77+
'foundationdb': 'area/database',
7478
7579
// area/extra
7680
'extra': 'area/extra',
@@ -84,6 +88,7 @@ jobs:
8488
// area/kubernetes
8589
'kubernetes': 'area/kubernetes',
8690
'apps/kubernetes': 'area/kubernetes',
91+
'kubernetes-nodes': 'area/kubernetes',
8792
8893
// area/monitoring
8994
'monitoring': 'area/monitoring',
@@ -98,6 +103,7 @@ jobs:
98103
'ingress-nginx': 'area/networking',
99104
'gateway': 'area/networking',
100105
'vpn': 'area/networking',
106+
'vpc': 'area/networking',
101107
'metallb': 'area/networking',
102108
'kube-ovn': 'area/networking',
103109
'kubeovn-webhook': 'area/networking',
@@ -149,6 +155,8 @@ jobs:
149155
'cdi': 'area/virtualization',
150156
'vmi': 'area/virtualization',
151157
'vm-import': 'area/virtualization',
158+
'vm-instance': 'area/virtualization',
159+
'vm-disk': 'area/virtualization',
152160
'virtual-machine': 'area/virtualization',
153161
'hami': 'area/virtualization',
154162
'gpu-operator': 'area/virtualization',

0 commit comments

Comments
 (0)