Skip to content

Fix silent failure when downloading a directory with AWS SDK v2 #6266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 14, 2025

Conversation

jorgee
Copy link
Contributor

@jorgee jorgee commented Jul 10, 2025

Porting the nf-build-plugin, I have noted the download directory method implemented in the nf-amazon plugin is not checking if there are failed transfers. It could silently ignore failures in the transfers generated by the download directory in the S3 Transfer Manager. This check is already done when uploading a directory.

In this PR, the same mechanism is added for the download case. The CompleatedDirectoryDownload.failedTransfers() is inspected to check if there have been errors in the generated transfers.

Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Copy link

netlify bot commented Jul 10, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit f540268
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/687119e45e9c7b00084ea708

@bentsherman bentsherman requested a review from pditommaso July 11, 2025 14:29
@pditommaso pditommaso merged commit 2d76d8f into master Jul 14, 2025
22 checks passed
@pditommaso pditommaso deleted the fix-error-mngmt-aws-download-directory-sdk-v2 branch July 14, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants