From 7023d78599d402c70685885652740bd69870e2b6 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Mon, 23 Feb 2026 11:08:00 -0500 Subject: [PATCH] fix: normalize Go wildcard API subjects in gap inventory --- scripts/jetstream/extract-go-js-api.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/jetstream/extract-go-js-api.sh b/scripts/jetstream/extract-go-js-api.sh index 9d82390..4ed7a3b 100755 --- a/scripts/jetstream/extract-go-js-api.sh +++ b/scripts/jetstream/extract-go-js-api.sh @@ -8,7 +8,8 @@ if [[ -f "$go_file" ]]; then { rg -n -F '$JS.API' "$go_file" \ | awk -F: '{print $3}' \ - | sed -E 's/.*"(\$JS\.API[^\"]+)".*/\1/' + | sed -E 's/.*"(\$JS\.API[^\"]+)".*/\1/' \ + | awk '/^\$JS\.API/ && $0 !~ /\.>$/' # Some Go constants are coarse patterns (e.g. "$JS.API.STREAM.>"). # Add explicit subject families used by parity tests/docs.