Skip to content

fix(cli): disable env proxy for local HTTP startup probes#158

Merged
duguwanglong merged 1 commit intomainfrom
fix/wait-for-http-trust-env-false
Apr 22, 2026
Merged

fix(cli): disable env proxy for local HTTP startup probes#158
duguwanglong merged 1 commit intomainfrom
fix/wait-for-http-trust-env-false

Conversation

@xiami762
Copy link
Copy Markdown
Contributor

httpx defaults to trust_env=True, which can route localhost health checks
through HTTP_PROXY and cause false startup timeouts. Use trust_env=False
for wait_for_http probes and assert it in tests.

Made-with: Cursor

httpx defaults to trust_env=True, which can route localhost health checks
through HTTP_PROXY and cause false startup timeouts. Use trust_env=False
for wait_for_http probes and assert it in tests.

Made-with: Cursor
@duguwanglong duguwanglong merged commit ee65869 into main Apr 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants