fix(deploy): bypass proxy in health checks
Test Suite / Detect changes (push) Canceled after 0s
Test Suite / webui (push) Canceled after 0s
Test Suite / Terminal UI (Windows) (push) Canceled after 0s
Test Suite / Terminal UI (push) Canceled after 0s
Test Suite / docker (push) Canceled after 0s
Test Suite / Python (Windows, 3.14) (push) Canceled after 0s
Test Suite / Python (minimum, 3.11) (push) Canceled after 0s
Test Suite / Python (latest, 3.14 + coverage) (push) Canceled after 0s
Test Suite / Detect changes (push) Canceled after 0s
Test Suite / webui (push) Canceled after 0s
Test Suite / Terminal UI (Windows) (push) Canceled after 0s
Test Suite / Terminal UI (push) Canceled after 0s
Test Suite / docker (push) Canceled after 0s
Test Suite / Python (Windows, 3.14) (push) Canceled after 0s
Test Suite / Python (minimum, 3.11) (push) Canceled after 0s
Test Suite / Python (latest, 3.14 + coverage) (push) Canceled after 0s
Loopback health checks inherited http_proxy from /etc/environment and were routed through v2rayA, failing spuriously (2026-08-28 incident).
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ health_check() {
|
|||||||
# Returns 0 if healthy, 1 if not
|
# Returns 0 if healthy, 1 if not
|
||||||
local deadline=$((SECONDS + HEALTH_TIMEOUT_SEC))
|
local deadline=$((SECONDS + HEALTH_TIMEOUT_SEC))
|
||||||
while (( SECONDS < deadline )); do
|
while (( SECONDS < deadline )); do
|
||||||
if curl -sf --max-time 3 "$HEALTH_URL" >/dev/null 2>&1; then
|
if curl -sf --noproxy '*' --max-time 3 "$HEALTH_URL" >/dev/null 2>&1; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|||||||
Reference in New Issue
Block a user