Skip to content

Conversation

@andrewro-google
Copy link
Contributor

@andrewro-google andrewro-google commented Jul 25, 2025

This allows the caller to allocate the ResponseType on an arena and better matches the underlying GRPC interface

TESTED=bazel test //google/... --test_tag_filters=-integration-test,-benchmark,-sample


This change is Reviewable

This allows the caller to allocate the ResponseType on an arena
and better matches the underlying GRPC interface
@andrewro-google andrewro-google requested review from a team as code owners July 25, 2025 23:56
@andrewro-google andrewro-google changed the title Change StreamingReadRpc::Read interface to take ResponseType perf: Change StreamingReadRpc::Read interface to take ResponseType Jul 26, 2025
@scotthart
Copy link
Member

/gcbrun

@andrewro-google
Copy link
Contributor Author

Fixed the generator and now bazel test //... --test_tag_filters=-integration-test,-benchmark,-sample and bazel build //... passes

@scotthart
Copy link
Member

/gcbrun

@andrewro-google
Copy link
Contributor Author

Fixed clang errors

@andrewro-google
Copy link
Contributor Author

Friendly ping

@scotthart
Copy link
Member

/gcbrun

@codecov
Copy link

codecov bot commented Jul 30, 2025

Codecov Report

❌ Patch coverage is 99.16840% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.03%. Comparing base (8e234ce) to head (7e75022).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...cloud/bigtable/internal/default_row_reader_test.cc 98.16% 2 Missing ⚠️
...v1/internal/golden_kitchen_sink_connection_impl.cc 85.71% 1 Missing ⚠️
...loud/internal/resumable_streaming_read_rpc_test.cc 98.36% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main   #15319    +/-   ##
========================================
  Coverage   93.03%   93.03%            
========================================
  Files        2403     2403            
  Lines      219441   219553   +112     
========================================
+ Hits       204148   204272   +124     
+ Misses      15293    15281    -12     

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

@scotthart
Copy link
Member

/gcbrun

@andrewro-google
Copy link
Contributor Author

Friendly ping. Seem like the only tests not running need another level of approval

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 23 of 29 files at r1, 8 of 8 files at r2, 4 of 4 files at r3, 2 of 2 files at r4, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @andrewro-google)

@andrewro-google
Copy link
Contributor Author

@BenWhitehead could you take a look as a member of gcs-sdk-team? Thanks!

@scotthart
Copy link
Member

/gcbrun

@scotthart scotthart enabled auto-merge (squash) August 27, 2025 19:27
return response;
.WillOnce([](storage_proto::ReadObjectResponse* r) {
SetContent(*r, "0123456789");
return absl::nullopt;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we returning nullopt instead of the response?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Read's API now returns nullopt when there are more results coming or the final RPC Status. In this test we have a few results before sending a final status::OK

@bajajneha27
Copy link
Contributor

@BenWhitehead could you take a look as a member of gcs-sdk-team? Thanks!

@andrewro-google I reviewed on behalf of gcs-sdk-team.

@scotthart
Copy link
Member

/gcbrun

@scotthart scotthart merged commit 13744a6 into googleapis:main Aug 28, 2025
66 of 79 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants