Repository navigation
Conversation
Signed-off-by: 1fanwang <1fannnw@gmail.com>
1fanwang
requested review from
cosmicbboy,
davidmirror-ops,
kumare3,
machichima,
pingsutw,
samhita-alla and
wild-endeavor
as code owners
September 3, 2026 07:11
Signed-off-by: 1fanwang <1fannnw@gmail.com>
Signed-off-by: 1fanwang <1fannnw@gmail.com>
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.
Tracking issue
No tracking issue.
Why are the changes needed?
A concurrent S3 download can report success after a ranged request fails, leaving the caller with a partial file and a background Task exception was never retrieved warning.
What changes were proposed in this pull request?
Propagate the failed request to the caller, then cancel and await the remaining download tasks.
How was this patch tested?
Testing Done
The reproducer uses the real s3fs and aiobotocore HTTP path against a local aiohttp server. One range returns HTTP 403 while another remains open. The failed download raises PermissionError, and the other connection closes. This does not use an S3 service.
Reproducer source: async_download_repro.py
The earlier comparison returned a partial file without an error on the base:
Setup process
Python 3.12 with the SDK development dependencies and async-fsspec plugin source on PYTHONPATH.
Screenshots
Not applicable.
Check all the applicable boxes
Related PRs
None.
Docs link
No separate documentation change.