Skip to content

Add assertions for range request usage in private registry integration tests - #21350

Merged
zanieb merged 1 commit into
mainfrom
zb/test-public-azure-registry
Aug 29, 2026
Merged

zanieb merged 1 commit into
mainfrom
zb/test-public-azure-registry

Conversation

@astral-automations-bot

@astral-automations-bot astral-automations-bot Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Require the private registry integration tests to use wheel metadata range requests for Artifactory, CodeArtifact, Cloudsmith, and GitLab. Leave the Azure assertion disabled and linked to #21349; Google Artifact Registry and Gemfury remain unchanged because the configured endpoints do not currently satisfy the requirement.

Unit tests are added separately in #21353

@astral-automations-bot
astral-automations-bot Bot requested a review from a team August 28, 2026 20:07
@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 Aug 28, 2026
@zanieb
zanieb marked this pull request as draft August 28, 2026 20:08
@zanieb

zanieb commented Aug 28, 2026

Copy link
Copy Markdown
Member

(need to test this in the main repo with secrets)

@zanieb
zanieb force-pushed the zb/test-public-azure-registry branch from 3053b14 to 1dccb51 Compare August 28, 2026 20:55
@zanieb
zanieb force-pushed the zb/test-public-azure-registry branch from 1970550 to d4a32c0 Compare August 28, 2026 21:13
@zanieb
zanieb force-pushed the zb/test-public-azure-registry branch from d4a32c0 to 879ec42 Compare August 28, 2026 21:20
@zanieb zanieb changed the title Test Azure registry range requests Test efficient metadata reads across registries Aug 28, 2026
@zanieb
zanieb force-pushed the zb/test-public-azure-registry branch from 9b08a3f to e30a5f8 Compare August 28, 2026 22:03
@zanieb zanieb changed the title Test efficient metadata reads across registries Test efficient metadata reads across private registries Aug 28, 2026
@zanieb
zanieb marked this pull request as ready for review August 28, 2026 22:08
@zanieb
zanieb requested a review from ewdurbin August 28, 2026 22:08
@zanieb zanieb changed the title Test efficient metadata reads across private registries Add assertions for range request usage in private registry integration tests Aug 29, 2026
@zanieb
zanieb merged commit e27ef65 into main Aug 29, 2026
82 checks passed
@zanieb
zanieb deleted the zb/test-public-azure-registry branch August 29, 2026 13:51
zanieb added a commit that referenced this pull request Aug 29, 2026
Wheel metadata extraction takes a different path for redirects depending
on whether range requests stay within an origin, cross origins, or
receive method-specific targets. Capture the current behavior for all
three cases, including source credential propagation, cross-origin
credential stripping, destination credentials, and the existing
streaming fallback.

This provides an explicit behavioral baseline for #21347 and
its follow-up implementation.

These are unit tests overlapping with
#21350

---------

Co-authored-by: Zanie Blue <[email protected]>
@zsol

zsol commented Aug 31, 2026

Copy link
Copy Markdown
Member

FWIW LGTM

This branch was previously deployed

1 inactive deployment
automations — e30a5f83 Deployed Aug 28, 2026 by zanieb via review / security review #45460
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.

2 participants