-
Notifications
You must be signed in to change notification settings - Fork 40
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
support if-none-match for upload #462
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #462 +/- ##
==========================================
- Coverage 89.63% 89.62% -0.02%
==========================================
Files 20 20
Lines 6137 6137
==========================================
- Hits 5501 5500 -1
- Misses 636 637 +1
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix & ship
.github/workflows/ci.yml
Outdated
# Allow one instance of this workflow per pull request, and cancel older runs when new changes are pushed | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trivial: this is slightly different than what we have in aws-crt-java and aws-crt-cpp, which do this:
group: ${{ github.workflow }}-${{ github.ref }}
which I got from these docs:
https://docs.github.com/en/enterprise-cloud@latest/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs
tests/s3_data_plane_tests.c
Outdated
.object_path_override = g_pre_existing_object_10MB, | ||
.object_size_mb = 5, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trivial: it's weird to use the _10MB
and then upload 5MB
.object_path_override = g_pre_existing_object_10MB, | |
.object_size_mb = 5, | |
.object_path_override = g_pre_existing_object_1MB, | |
.object_size_mb = 1, |
tests/s3_data_plane_tests.c
Outdated
.object_path_override = g_pre_existing_object_10MB, | ||
.object_size_mb = 20, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trivial: same
.object_path_override = g_pre_existing_object_10MB, | |
.object_size_mb = 20, | |
.object_path_override = g_pre_existing_object_10MB, | |
.object_size_mb = 10, |
Issue #, if available:
if-none-match
for single part and multipart upload.if-none-match
included for every sub-operation, which should only be the complete MPU operation, which supports it.Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.