Skip to content

Conversation

@v-pratap
Copy link
Contributor

We are getting checksum mismatch error for few of the appendable uploads, this condition was missing. We need to add this condition since full object checksum is not available for fastbyte objects.
image

@v-pratap v-pratap requested review from a team as code owners November 20, 2025 05:37
@gemini-code-assist
Copy link

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Nov 20, 2025
@v-pratap v-pratap requested a review from bajajneha27 November 20, 2025 05:37
@codecov
Copy link

codecov bot commented Nov 20, 2025

Codecov Report

❌ Patch coverage is 97.77778% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.95%. Comparing base (45fe5af) to head (9721480).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...rage/internal/async/writer_connection_impl_test.cc 97.67% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #15786   +/-   ##
=======================================
  Coverage   92.94%   92.95%           
=======================================
  Files        2454     2454           
  Lines      226878   226922   +44     
=======================================
+ Hits       210879   210929   +50     
+ Misses      15999    15993    -6     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@scotthart
Copy link
Member

/gemini review

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request addresses a checksum mismatch error occurring during appendable uploads. The fix involves adding a condition to correctly identify appendable uploads when finalizing a write, ensuring that the full object checksum is bypassed as it's not available for these types of objects. The change is logical and directly addresses the described problem. I have one minor suggestion to improve code readability.

Copy link
Contributor

@bajajneha27 bajajneha27 left a comment

Choose a reason for hiding this comment

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

LGTM! Can we please add a testcase too?

@v-pratap v-pratap merged commit c03c99b into googleapis:main Nov 27, 2025
68 of 71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants