From 1adc6b8baf1c36cd61e37b1307b847bb9350dc57 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Wed, 12 Nov 2025 10:34:32 +0000 Subject: [PATCH] Enhance diagnostics: test API from container and check login page Added: - Security status check from inside container - Login page HTML check to see what's being served - Verify API is accessible from both host and container context Related to #695 --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37035bf..0a008f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -128,10 +128,14 @@ jobs: echo "Diagnosing authentication configuration..." echo "Environment variables in container:" docker exec pulse-test-server env | grep PULSE_AUTH || echo "No PULSE_AUTH variables found" - echo "Security status endpoint:" + echo "Security status endpoint from host:" curl -s http://localhost:7655/api/security/status | jq . || echo "Failed to query security status" + echo "Security status endpoint from inside container:" + docker exec pulse-test-server wget -q -O- http://localhost:7655/api/security/status || echo "Failed from inside" echo "Container startup logs (looking for auth messages):" docker logs pulse-test-server 2>&1 | grep -i "auth\|overriding\|hashed" || echo "No auth-related messages in logs" + echo "Testing login page loads:" + curl -s http://localhost:7655/login | head -20 echo "Running integration tests..." npx playwright test tests/01-happy-path.spec.ts tests/02-bad-checksums.spec.ts --reporter=list