fix: normalize Go wildcard API subjects in gap inventory

This commit is contained in:
Joseph Doherty
2026-02-23 11:08:00 -05:00
parent 8bce096f55
commit 7023d78599

View File

@@ -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.