Skip to content

Conversation

@v-pratap
Copy link
Contributor

@v-pratap v-pratap commented Aug 17, 2025

AsyncWriter in the C++ SDK does not set append_object_spec.generation when it reconnects a write stream, but that is required by the protocol. We have added a first-response field so that in future we can leverage that for other fields while resuming.

Without this change we were getting this error:
Uploading Screenshot 2025-08-17 at 11.30.52 AM.png…

With this change we are not getting the error:
Screenshot 2025-08-17 at 11 27 59 AM


This change is Reviewable

@codecov
Copy link

codecov bot commented Aug 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.04%. Comparing base (a4d34f3) to head (927fc5c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #15395   +/-   ##
=======================================
  Coverage   93.04%   93.04%           
=======================================
  Files        2403     2403           
  Lines      219557   219610   +53     
=======================================
+ Hits       204279   204342   +63     
+ Misses      15278    15268   -10     

☔ 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.

@v-pratap v-pratap force-pushed the add-generation-in-append-object-spec branch from dc888ec to 70705e9 Compare August 25, 2025 07:17
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.

Thanks

@scotthart scotthart merged commit 51f9c10 into googleapis:main Sep 11, 2025
68 of 78 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