Heo Hao 557161c474
fix(ci): give a Helm chart change an area label (#8285)
* fix(ci): give a Helm chart change an area label

deploy/ holds the Helm chart and nothing else. No AREA_RULES entry matched
that tree, so a PR touching only the chart -- and the backend/tests/test_helm_*.py
that comes with it -- arrived with no area label at all: #8123 reached merge
with just its size and risk labels, and #8161 only carried area:docs because
it happened to touch a README. Nothing routes those PRs to a reviewer who
owns the chart.

The chart is release/deploy tooling in the same sense as scripts/: bump_version.sh
rewrites its versions, verify_versions.sh and the chart workflow gate its
rendering, and area:ci already owns scripts/. Add deploy/ to that rule.

The offline replay in tests/test_label_declarations.py already proves the
labels the workflow would apply; it only covered the backend package trees.
Move its Node harness into a shared helper, reuse it, and add the chart cases
so this gap cannot reopen.

* Update CI area label matching for helm directory

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-11-17 09:51:17 +08:00
..