Skip to content
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

@uppy/aws-s3-multipart: make retries more robust #4424

Merged
merged 5 commits into from
Apr 25, 2023

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Apr 20, 2023

When the user clicks retries, we need to have cleared up all the cache regarding the file to retry, otherwise we are likely to target an already expired ID.

Fixes: #4366

When the user clicks retries, we need to have cleared up all the cache regarding
the file to retry, otherwise we are likely to target an already expired
ID.
e2e/cypress/support/e2e.ts Outdated Show resolved Hide resolved
@aduh95 aduh95 added the safe to test Add this label on trustworthy PRs to spawn the e2e test suite label Apr 20, 2023
@github-actions github-actions bot removed the safe to test Add this label on trustworthy PRs to spawn the e2e test suite label Apr 20, 2023
@aduh95 aduh95 added the safe to test Add this label on trustworthy PRs to spawn the e2e test suite label Apr 21, 2023
@github-actions github-actions bot removed pending end-to-end tests safe to test Add this label on trustworthy PRs to spawn the e2e test suite labels Apr 21, 2023
@aduh95
Copy link
Contributor Author

aduh95 commented Apr 24, 2023

@Murderlon do you want to review the test to make sure we did everything by the book? We want to test that for each request type, a failure is reported to the user and the retry functionality can end up in a successful state when it finally goes through.

@aduh95 aduh95 merged commit 0607fd2 into transloadit:main Apr 25, 2023
@aduh95 aduh95 deleted the multipart-robustness branch April 25, 2023 12:13
@github-actions github-actions bot mentioned this pull request May 2, 2023
github-actions bot added a commit that referenced this pull request May 2, 2023
| Package                | Version | Package                | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/aws-s3           |   3.1.1 | @uppy/status-bar       |   3.1.2 |
| @uppy/aws-s3-multipart |   3.3.0 | @uppy/transloadit      |   3.1.4 |
| @uppy/locales          |   3.2.1 | uppy                   |   3.9.0 |

- @uppy/aws-s3-multipart: allowedMetaFields: null means “include all” (Artur Paikin / #4437)
- @uppy/aws-s3-multipart: add `shouldUseMultipart ` option (Antoine du Hamel / #4205)
- @uppy/transloadit: Reset `tus` key in the file on error, so retried files are re-uploaded (Artur Paikin / #4421)
- meta: commit build file that was modified (Antoine du Hamel)
- meta: examples: add CORS settings for DigitalOcean Spaces (Antoine du Hamel / #4428)
- @uppy/aws-s3: deprecate `timeout` option (Antoine du Hamel / #4298)
- @uppy/aws-s3-multipart: make retries more robust (Antoine du Hamel / #4424)
- meta: fix badges on README (Antoine du Hamel / #4419)
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.

Retrying aws multipart upload doesn't work
3 participants