Skip to content

fix: Fix FileDownloader and directory transfer failure paths - #3434

Merged
richardwang1124 merged 1 commit into
version-3from
fix/file_downloader
Oct 6, 2026
Merged

richardwang1124 merged 1 commit into
version-3from
fix/file_downloader

Conversation

@richardwang1124

@richardwang1124 richardwang1124 commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up PR to #3407.

Fixes download_file leaving truncated file at the destination when a part fails with a non-StandardError, download_file leaving a stray temp file behind when a caller-provided executor rejects a part mid-download, and upload_directory/download_directory hanging forever when listing files or objects fails with a non-StandardError (such as from a :filter_callback).


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

  1. To make sure we include your contribution in the release notes, please make sure to add description entry for your changes in the "unreleased changes" section of the CHANGELOG.md file (at corresponding gem). For the description entry, please make sure it lives in one line and starts with Feature or Issue in the correct format.

  2. For generated code changes, please checkout below instructions first:
    https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md

Thank you for your contribution!

@richardwang1124
richardwang1124 requested a review from a team as a code owner October 5, 2026 16:45

@jterapin jterapin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@richardwang1124
richardwang1124 merged commit c16db28 into version-3 Oct 6, 2026
33 checks passed
@richardwang1124
richardwang1124 deleted the fix/file_downloader branch October 6, 2026 14:30
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