From d38680910af0acdad3bedbe2482947878b04f8cb Mon Sep 17 00:00:00 2001 From: Lorem Dev Date: Sun, 24 May 2026 20:47:51 +0200 Subject: [PATCH] diag: verbose mcp output to find ubuntu hang (do not merge) --- .scripts/test-coverage.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.scripts/test-coverage.sh b/.scripts/test-coverage.sh index 0e02e13..2b1d457 100755 --- a/.scripts/test-coverage.sh +++ b/.scripts/test-coverage.sh @@ -27,6 +27,11 @@ while IFS= read -r mod; do html="$REPORTS/coverage-${name}.html" printf '\033[90m--- %s\033[0m\n' "$mod" + if [ "$mod" = "." ]; then + echo "DIAGNOSTIC: running internal/mcp with verbose + tight timeout" + (cd "$dir" && go test -v -count=1 -timeout 60s ./internal/mcp/...) || true + echo "DIAGNOSTIC: end of internal/mcp run" + fi if (cd "$dir" && go_test go test -timeout "${TEST_TIMEOUT:-3m}" -coverprofile="$profile" -covermode=atomic ./...); then printf ' \033[32mPASS\033[0m\n\n' PASS=$((PASS + 1))