From 8d17460167d79ee000f3368f015b6bdf7ffa6ae9 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Wed, 12 Nov 2025 10:15:28 +0000 Subject: [PATCH] Add diagnostics to integration test workflow Add diagnostic checks before running tests to verify: - Environment variables reach the container (PULSE_AUTH_USER/PASS) - Security status endpoint returns correct hasAuthentication value - Startup logs contain auth configuration messages This will help identify where authentication configuration is failing. Related to #695 --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ec5a70..37035bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -125,6 +125,14 @@ jobs: fi done + 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:" + curl -s http://localhost:7655/api/security/status | jq . || echo "Failed to query security status" + 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 "Running integration tests..." npx playwright test tests/01-happy-path.spec.ts tests/02-bad-checksums.spec.ts --reporter=list docker-compose -f docker-compose.test.yml down -v