Skip to content

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

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

duguwanglong merged 1 commit into
mainfrom
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
duguwanglong pushed a commit to DearEmma/flocks that referenced this pull request May 18, 2026
…s#158)

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.
@xiami762
xiami762 deleted the fix/wait-for-http-trust-env-false branch May 20, 2026 00:40
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