From 0ea0cf50af6a52cf79397c407f0b1d1732f2017f Mon Sep 17 00:00:00 2001 From: codex-bot-andresmgsl Date: Tue, 25 Aug 2026 20:18:20 +0000 Subject: [PATCH] test: guard needs-triage label description --- test/labels.test.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/labels.test.sh b/test/labels.test.sh index 8c908ef..35fcd4b 100755 --- a/test/labels.test.sh +++ b/test/labels.test.sh @@ -31,6 +31,15 @@ attention_row='attention|D93F0B|A demand is parked here for the assignee: pick u check "attention core row is emitted once, byte-exact" 0 "1" bash -c \ 'source "$1"; core_label_rows | grep -cxF "$2"' _ \ "$ROOT/actions/labels-reconcile/labels-reconcile.sh" "$attention_row" +needs_triage_row='needs-triage|FBCA04|Did not come through triage — owes normalization into work or a reasoned refusal' +# shellcheck disable=SC2016 # expansion belongs to the nested bash +check "needs-triage core row is emitted once, byte-exact" 0 "1" bash -c \ + 'source "$1"; core_label_rows | grep -cxF "$2"' _ \ + "$ROOT/actions/labels-reconcile/labels-reconcile.sh" "$needs_triage_row" +# shellcheck disable=SC2016 # expansion belongs to the nested bash +check "core label rows carry no stale discussion path" 1 "" bash -c \ + 'source "$1"; core_label_rows | grep -i discussion' _ \ + "$ROOT/actions/labels-reconcile/labels-reconcile.sh" # shellcheck disable=SC2016 # fields are intentionally split in the nested shell check "attention description survives label field splitting" 0 \ "A demand is parked here for the assignee: pick up the thread, ack by removing this label" \