chore: Fix IPv4 localhost resolution in Supabase e2e tests - #3808
Open
Ziinc wants to merge 3 commits into
Open
Conversation
Node 18+ resolves localhost to ::1 first on CI runners, while the Supabase stack publishes ports on IPv4 only. Playwright's request context failed with connect ECONNREFUSED ::1:8000 and supabase-js with a bare 'fetch failed'. Normalise SUPABASE_PUBLIC_URL to 127.0.0.1 in a shared lib/env module, and fix the .env path used by lib/supabase.ts. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N9dnfRS1nCWkhNs5ESbsjw
The clipboard spec timed out because Playwright charges beforeEach to the test's own budget: an 8s settle plus a polling searchLogs left no headroom in the 30s default. Raise the per-test timeout and make searchLogs throw when the event never shows, instead of deferring the failure to an unrelated hover. Also stop setup-supabase-services.sh from reporting success when the stack is broken. An unhealthy analytics container blocks kong via depends_on, so nothing listens on the public port, but the readiness probe runs inside the analytics container and never notices. Name the unhealthy services with their logs, and probe the gateway from the host. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N9dnfRS1nCWkhNs5ESbsjw
Ziinc
force-pushed
the
claude/integration-tests-connection-failures-exrhbt
branch
from
August 13, 2026 18:01
313c452 to
08ff411
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refactors env vars for Supabase e2e tests to fix connectivity issues on CI where Node 18+ resolves
localhostto IPv6 (::1) first, but the Supabase stack only publishes ports on IPv4.