From be51bfe1e14bf5f6910abe6835bc11fb0ecd4061 Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Thu, 1 Oct 2026 17:06:16 +0200 Subject: [PATCH] fix(11.2): WR-04 keep the site gate's summary grep non-fatal Under set -e a missing TAP summary aborted run_site without a refuse message; the explicit refuse checks now report it. The site's test script pins the TAP reporter so the summary lines exist on Node 23+. --- scripts/check-phase11.2.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/check-phase11.2.sh b/scripts/check-phase11.2.sh index f71f508..78b04a4 100755 --- a/scripts/check-phase11.2.sh +++ b/scripts/check-phase11.2.sh @@ -191,7 +191,8 @@ run_site() { cat "$log" >&2 refuse "site: pnpm test failed" } - grep -E '^# (tests|pass|fail|skipped|todo|cancelled) ' "$log" + # Informational; a missing TAP summary is reported by the refuse checks below. + grep -E '^# (tests|pass|fail|skipped|todo|cancelled) ' "$log" || true grep -qx '# fail 0' "$log" || refuse "site: no '# fail 0' line" grep -qE '^# pass [1-9][0-9]*$' "$log" || refuse "site: no passing tests" grep -qx '# skipped 0' "$log" || refuse "site: skipped tests"