Skip to content

Conversation

@v-pratap
Copy link
Contributor

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

For the the first connection in appendable object upload, we are getting object metadata in response, but we were only storing persisted size out of it, so updating the code so that we will store the object metadata.


This change is Reviewable

@codecov
Copy link

codecov bot commented Sep 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.03%. Comparing base (9926010) to head (2c8a48f).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #15422      +/-   ##
==========================================
- Coverage   93.04%   93.03%   -0.01%     
==========================================
  Files        2408     2408              
  Lines      219826   219826              
==========================================
- Hits       204529   204523       -6     
- Misses      15297    15303       +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.

Copy link
Member

@scotthart scotthart left a comment

Choose a reason for hiding this comment

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

@scotthart reviewed 2 of 5 files at r1, 2 of 2 files at r3, 2 of 3 files at r4, 2 of 2 files at r5, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @v-pratap)


google/cloud/storage/internal/async/writer_connection_impl.cc line 67 at r5 (raw file):

          std::move(options), std::move(request), std::move(impl),
          std::move(hash_function), PersistedStateType(metadata),
          /*offset=*/metadata.size(), std::move(first_request)) {}

There's no benefit (and possibly even a pessimization) to std::move on a bool, or any other fundamental data type.

@scotthart
Copy link
Member

/gcbrun

@scotthart scotthart merged commit 19f9509 into googleapis:main Sep 16, 2025
66 of 72 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