Skip to content

Keep local HTTP fixtures off ambient proxies - #2484

Draft
zaniebot wants to merge 2 commits into
mainfrom
zb/opportunity-20-03-local-test-proxies
Draft

zaniebot wants to merge 2 commits into
mainfrom
zb/opportunity-20-03-local-test-proxies

Conversation

@zaniebot

@zaniebot zaniebot commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

Local HTTP and TLS fixtures can inherit host proxy settings, sending their requests away from the owned server. Give local clients an explicit proxy policy and add loopback bypasses to CLI fixture contexts, retaining existing host exclusions and the separate policies of proxy and public-host scenarios.

@zaniebot
zaniebot deployed to automations October 8, 2026 13:30 — with GitHub Actions Active
@astral-automations-bot astral-automations-bot Bot added internal A refactor or improvement that is not user-facing internal:testing Internal testing of behavior labels Oct 8, 2026
@zaniebot
zaniebot deployed to automations October 8, 2026 13:54 — with GitHub Actions Active
@codspeed

codspeed Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ 8 benchmarks spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

✅ 69 untouched benchmarks
⏩ 35 skipped benchmarks1


Comparing zb/opportunity-20-03-local-test-proxies (a7fee43) with main (a03d0cd)

Open in CodSpeed

Footnotes

  1. 35 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@astral-automations-bot
astral-automations-bot Bot force-pushed the zb/opportunity-20-03-local-test-proxies branch from 87ea2ae to 59e0582 Compare October 9, 2026 19:04
@astral-automations-bot
astral-automations-bot Bot force-pushed the zb/opportunity-20-03-local-test-proxies branch from 59e0582 to a7fee43 Compare October 16, 2026 15:47
@astral-automations-bot
astral-automations-bot Bot force-pushed the zb/opportunity-20-03-local-test-proxies branch from a7fee43 to 3d7aac1 Compare October 19, 2026 02:34

This branch was successfully deployed

1 active deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal:testing Internal testing of behavior internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant