Skip to content

feat(storage): add open_object() API#4108

Merged
coryan merged 3 commits intogoogleapis:mainfrom
coryan:feat-storage-open-object-is-stable
Dec 19, 2025
Merged

feat(storage): add open_object() API#4108
coryan merged 3 commits intogoogleapis:mainfrom
coryan:feat-storage-open-object-is-stable

Conversation

@coryan
Copy link
Copy Markdown
Collaborator

@coryan coryan commented Dec 19, 2025

Storage::open_object() allows you to open an object and then read one or many ranges from the same object. Once open, the latency to read each range is lower than a comparable read_object().set_range() call.

Fixes #4106

`Storage::open_object()` allows you to open an object and then read one
or many ranges from the same object. Once open, the latency to read each
range is lower than a comparable `read_object().set_range()` call.
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Dec 19, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Dec 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.84%. Comparing base (cebf00e) to head (7acfda3).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4108   +/-   ##
=======================================
  Coverage   94.84%   94.84%           
=======================================
  Files         181      181           
  Lines        6853     6853           
=======================================
  Hits         6500     6500           
  Misses        353      353           

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

@coryan coryan marked this pull request as ready for review December 19, 2025 20:47
@coryan coryan requested a review from a team December 19, 2025 20:47
@coryan
Copy link
Copy Markdown
Collaborator Author

coryan commented Dec 19, 2025

/FYI: @cjc25 @BenWhitehead

@coryan coryan merged commit d0589a4 into googleapis:main Dec 19, 2025
29 checks passed
@coryan coryan deleted the feat-storage-open-object-is-stable branch December 19, 2025 21:16
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.

Mark the open_object() code as stable

2 participants