Skip to content

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

Merged
pditommaso merged 2 commits intomasterfrom
fix-error-mngmt-aws-download-directory-sdk-v2
Jul 14, 2025
Merged

Fix silent failure when downloading a directory with AWS SDK v2#6266
pditommaso merged 2 commits intomasterfrom
fix-error-mngmt-aws-download-directory-sdk-v2

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>
@netlify
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