Skip to content

Conversation

@dbolduc
Copy link
Member

@dbolduc dbolduc commented Aug 28, 2025

Part of the work for #2041

We have the WriteObjectRequest (which is just a spec and params), might as well use it to hold the spec and params fields.

@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Aug 28, 2025
@codecov
Copy link

codecov bot commented Aug 28, 2025

Codecov Report

❌ Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 96.39%. Comparing base (65f54bd) to head (e2e6db7).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
src/storage/src/storage/write_object.rs 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3159      +/-   ##
==========================================
- Coverage   96.42%   96.39%   -0.03%     
==========================================
  Files         109      109              
  Lines        4414     4414              
==========================================
- Hits         4256     4255       -1     
- Misses        158      159       +1     

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

@dbolduc dbolduc marked this pull request as ready for review August 28, 2025 14:40
@dbolduc dbolduc requested a review from a team as a code owner August 28, 2025 14:40
Comment on lines +785 to +786
self.request.spec,
self.request.params,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Seems like PerformUpload should keep these aggregated then?

Copy link
Member Author

Choose a reason for hiding this comment

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

It could. I did not plan to change it though.

@dbolduc dbolduc merged commit c601d81 into googleapis:main Aug 28, 2025
24 checks passed
@dbolduc dbolduc deleted the refactor-use-write-object-request branch August 28, 2025 15:47
coryan pushed a commit to coryan/google-cloud-rust that referenced this pull request Aug 28, 2025
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.

2 participants