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

Compress crypto_test_data.cc #2123

Merged
merged 2 commits into from
Jan 21, 2025
Merged

Conversation

justsmth
Copy link
Contributor

@justsmth justsmth commented Jan 16, 2025

Issues:

Resolves: P189934541

Description of changes:

  • The size of generated-src/crypto_test_data.cc is approaching 100MB. This change generates the file into a compressed form.

Call-outs:

Updating scripts related to this files creation and validation.

Testing:

These changes are thoroughly covered by our CI.

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

@codecov-commenter
Copy link

codecov-commenter commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.96%. Comparing base (3263ce2) to head (a70d990).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2123      +/-   ##
==========================================
- Coverage   78.96%   78.96%   -0.01%     
==========================================
  Files         610      610              
  Lines      105288   105288              
  Branches    14910    14911       +1     
==========================================
- Hits        83143    83138       -5     
- Misses      21493    21499       +6     
+ Partials      652      651       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@justsmth justsmth force-pushed the huge-crypto_test_data.cc branch 13 times, most recently from f82f6f6 to 581dc67 Compare January 21, 2025 15:49
@justsmth justsmth force-pushed the huge-crypto_test_data.cc branch from 581dc67 to 7b9bc64 Compare January 21, 2025 15:49
@justsmth justsmth changed the title [DRAFT] Compress crypto_test_data.cc Compress crypto_test_data.cc Jan 21, 2025
@justsmth justsmth marked this pull request as ready for review January 21, 2025 17:16
@justsmth justsmth requested a review from a team as a code owner January 21, 2025 17:16
@justsmth justsmth merged commit 5270eca into aws:main Jan 21, 2025
122 of 126 checks passed
@justsmth justsmth deleted the huge-crypto_test_data.cc branch January 21, 2025 21:50
github-merge-queue bot pushed a commit to awslabs/mountpoint-s3 that referenced this pull request Jan 23, 2025
Update the CRT to the latest releases.

This change also updates the exclude list, primarily due to one of the
test files being replaced by a compressed (but still large) file:
aws/aws-lc#2123

This change pulls in a bug fix
(awslabs/aws-c-auth#259), addressing
#1207.

### Does this change impact existing behavior?

One bug fix is included in CRT changes.

### Does this change need a changelog entry? Does it require a version
change?

Change log entry added for the CRT fix. It is a bug fix, so patch
version bump to `mountpoint-s3-client` remains appropriate.

---

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and I agree to the terms of
the [Developer Certificate of Origin
(DCO)](https://developercertificate.org/).

Signed-off-by: Daniel Carl Jones <[email protected]>
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.

4 participants