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

support if-none-match for upload #462

Merged
merged 8 commits into from
Nov 26, 2024
Merged

support if-none-match for upload #462

merged 8 commits into from
Nov 26, 2024

Conversation

TingDaoK
Copy link
Contributor

Issue #, if available:

Description of changes:

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

@TingDaoK TingDaoK changed the title if none match support if-none-match for upload Nov 21, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.62%. Comparing base (5d8d420) to head (fe4eab9).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            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     
Files with missing lines Coverage Δ
source/s3_request_messages.c 74.77% <ø> (ø)

... and 1 file with indirect coverage changes

Copy link
Contributor

@graebm graebm left a comment

Choose a reason for hiding this comment

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

fix & ship

Comment on lines 8 to 10
# 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 }}
Copy link
Contributor

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

Comment on lines 3057 to 3058
.object_path_override = g_pre_existing_object_10MB,
.object_size_mb = 5,
Copy link
Contributor

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

Suggested change
.object_path_override = g_pre_existing_object_10MB,
.object_size_mb = 5,
.object_path_override = g_pre_existing_object_1MB,
.object_size_mb = 1,

Comment on lines 3083 to 3084
.object_path_override = g_pre_existing_object_10MB,
.object_size_mb = 20,
Copy link
Contributor

Choose a reason for hiding this comment

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

trivial: same

Suggested change
.object_path_override = g_pre_existing_object_10MB,
.object_size_mb = 20,
.object_path_override = g_pre_existing_object_10MB,
.object_size_mb = 10,

@TingDaoK TingDaoK merged commit e373ef4 into main Nov 26, 2024
31 checks passed
@TingDaoK TingDaoK deleted the if-non-match branch November 26, 2024 17:59
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.

3 participants