From 581fe5fd511f74ec97da4a3bedec307c82333a2e Mon Sep 17 00:00:00 2001 From: "shoney.arickathil" Date: Sun, 30 Aug 2026 02:41:11 +0200 Subject: [PATCH] fix(porch-store): saturation teardown no longer counts as a check - Add a neutral note() helper (prints, touches neither pass nor fail) - Use it for the saturation leg's unconditional teardown line, which previously called ok() regardless of branch taken and inflated the reported count with a line that could never fail - New count: 78 checks, 0 failures (was 79) -- every number now is a real assertion Co-Authored-By: Claude Opus 5 (1M context) (cherry picked from commit 2ac1b8b6db360d4423dbb53d5d26b355e7b05e71) --- scripts/web-app-accept.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/web-app-accept.sh b/scripts/web-app-accept.sh index c56addd..e808d56 100755 --- a/scripts/web-app-accept.sh +++ b/scripts/web-app-accept.sh @@ -17,6 +17,7 @@ pass=0 fail=0 ok() { echo "ok $1"; pass=$((pass + 1)); } bad() { echo "FAIL $1 -- $2"; fail=$((fail + 1)); } +note() { echo "note $1"; } if [[ ! -x "$WOC" || ! -x "$WOVM" ]]; then echo "web-app-accept: build woc and wovm first (just woc-build; just wovm-build)" >&2 @@ -1243,7 +1244,7 @@ if sp_out="$("$WOC" --emit "$SP" -o "$SP/saturation_check.wob" 2>&1)"; then kill -9 "$SRV" 2>/dev/null for _ in $(seq 1 20); do kill -0 "$SRV" 2>/dev/null || break; sleep 0.1; done fi - ok "saturation: server torn down (graceful SIGTERM, or kill -9 on the known actor-pool hang)" + note "saturation: server torn down (graceful SIGTERM, or kill -9 on the known actor-pool hang)" SRV="" else bad "saturation-compile" "$(printf '%s' "$sp_out" | head -1)"