File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ jobs:
124124 if : env.RUN_BACKEND == 'true'
125125 run : |
126126 for i in $(seq 1 60); do
127- if curl -sf http://localhost :7766/healthy >/dev/null; then
127+ if curl -sf http://127.0.0.1 :7766/healthy >/dev/null; then
128128 echo "PDP ready after ${i} attempt(s)"
129129 exit 0
130130 fi
@@ -140,6 +140,10 @@ jobs:
140140 PDP_API_KEY : ${{ env.ENV_API_KEY }}
141141 PERMIT_API_KEY : ${{ env.ENV_API_KEY }}
142142 API_TIER : prod
143+ # Force IPv4: Node resolves `localhost` to ::1 first, but the runner's
144+ # Docker IPv6 publish refuses connections, so PDP checks would hit
145+ # ECONNREFUSED. 127.0.0.1 pins the working IPv4 path.
146+ PDP_URL : http://127.0.0.1:7766
143147 run : yarn test:ci:full
144148
145149 # Dump PDP diagnostics whenever the backend path fails. The SDK reports
You can’t perform that action at this time.
0 commit comments