Repository navigation
Conversation
zaniebot
force-pushed
the
zb/range-reader-request-fallback
branch
from
August 28, 2026 22:15
c3c093b to
503148f
Compare
zaniebot
force-pushed
the
zb/range-reader-redirect-tests
branch
from
August 28, 2026 22:15
197a5b6 to
043e682
Compare
zaniebot
changed the base branch from
zb/range-reader-redirect-tests
to
zb/range-reader-redirect-edge-tests
August 28, 2026 22:15
zaniebot
force-pushed
the
zb/range-reader-redirect-edge-tests
branch
from
August 29, 2026 14:07
1109285 to
61a10de
Compare
zaniebot
force-pushed
the
zb/range-reader-request-fallback
branch
from
August 29, 2026 14:36
503148f to
0185839
Compare
zaniebot
changed the base branch from
zb/range-reader-redirect-edge-tests
to
main
August 29, 2026 14:36
zaniebot
force-pushed
the
zb/range-reader-request-fallback
branch
from
August 29, 2026 14:39
0185839 to
f04fc45
Compare
astral-automations-bot
Bot
force-pushed
the
zb/range-reader-request-fallback
branch
from
August 31, 2026 14:24
f04fc45 to
5167ea5
Compare
zanieb
reviewed
Aug 31, 2026
| ErrorKind::Zip(_, ZipError::UpstreamReadError(err)) => err | ||
| .get_ref() | ||
| .and_then(|err| err.downcast_ref::<AsyncHttpRangeReaderError>()), | ||
| _ => None, |
zanieb
reviewed
Aug 31, 2026
Comment on lines
+379
to
+386
| matches!( | ||
| range_error, | ||
| Some( | ||
| AsyncHttpRangeReaderError::HttpError(_) | ||
| | AsyncHttpRangeReaderError::TransportError(_) | ||
| | AsyncHttpRangeReaderError::IoError(_) | ||
| ) | ||
| ) |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When
HEADadvertises range support but a rangedGETfails, wheel metadata extraction can error even when an ordinaryGETsucceeds. The range reader's HTTP and transport errors, including those wrapped by the ZIP reader, do not currently trigger streaming fallback. Retry the original wheel URL withoutRangefor these failures, unless metadata range requests are required.Handle these failures separately from the existing classification for unsupported ranges, which also disables range requests for subsequent wheels from the index. A request can fail because of an individual artifact, signed URL, or transient connection problem; it does not establish that other wheels cannot serve ranges. Fall back for the affected wheel without changing the index capability. Errors indicating unsupported ranges or malformed range responses continue to use the existing classification.
This is stacked below #909 to preserve fallback if redirected storage rejects a ranged
GETwith403while accepting an ordinaryGET. The motivating scenario uses a simulated server; a production instance of that specific rejection has not been identified.