Skip to content

Conversation

@v-pratap
Copy link
Contributor

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

We are getting the bucket not found error on finalization of ResumeAppendableObject because we are using the variable after moving them.
Screenshot 2025-07-10 at 7 26 41 PM


This change is Reviewable

@v-pratap v-pratap requested review from a team as code owners July 17, 2025 11:48
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Jul 17, 2025
@codecov
Copy link

codecov bot commented Jul 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.91%. Comparing base (5cd5867) to head (520c466).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #15274   +/-   ##
=======================================
  Coverage   92.90%   92.91%           
=======================================
  Files        2401     2401           
  Lines      216443   216443           
=======================================
+ Hits       201095   201100    +5     
+ Misses      15348    15343    -5     

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

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @bajajneha27 and @ddelgrosso1)


google/cloud/storage/internal/async/connection_impl.cc line 309 at r1 (raw file):

future<StatusOr<std::unique_ptr<storage_experimental::AsyncWriterConnection>>>
AsyncConnectionImpl::AppendableObjectUploadImpl(AppendableUploadParams p) {
  auto current = internal::MakeImmutableOptions(p.options);

It looks like the std::move(p.options) can stay. As far as I can tell, it's only the p.request that is read a second time in this function.

Code quote:

(p.options

Copy link
Contributor Author

@v-pratap v-pratap left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @bajajneha27, @ddelgrosso1, and @scotthart)


google/cloud/storage/internal/async/connection_impl.cc line 309 at r1 (raw file):

Previously, scotthart (Scott Hart) wrote…

It looks like the std::move(p.options) can stay. As far as I can tell, it's only the p.request that is read a second time in this function.

Done.

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.

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @bajajneha27 and @ddelgrosso1)

@v-pratap v-pratap force-pushed the resume-appendable-fix branch from 1f37992 to 81234b1 Compare July 22, 2025 05:15
@v-pratap v-pratap removed the request for review from ddelgrosso1 July 23, 2025 07:58
@v-pratap v-pratap force-pushed the resume-appendable-fix branch from 81234b1 to 520c466 Compare July 24, 2025 10:12
@v-pratap v-pratap merged commit 230ddb9 into googleapis:main Jul 24, 2025
78 of 79 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