Skip to content

impl(generator): include stream support directly - #16565

Merged
scotthart merged 5 commits into
googleapis:mainfrom
scotthart:generator_streaming_pagination_includes
Oct 15, 2026
Merged

scotthart merged 5 commits into
googleapis:mainfrom
scotthart:generator_streaming_pagination_includes

Conversation

@scotthart

@scotthart scotthart commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

This is in preparation for some refactoring of stream_range.h and removes relying on transitive includes.

Added a new file google/cloud/internal/make_stream_range.h, relocated the factory functions from stream_range.h to it, and updated call sites in all code.

@scotthart
scotthart requested a review from a team as a code owner October 14, 2026 19:22

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates the connection generator to conditionally include the "google/cloud/internal/make_stream_range.h" header in generated connection source files when a streaming read method is present. Consequently, various generated connection source files have been updated to include this header. There are no review comments, and I have no feedback to provide.

@scotthart
scotthart marked this pull request as draft October 14, 2026 19:37
@scotthart
scotthart force-pushed the generator_streaming_pagination_includes branch from c43182e to 88e9234 Compare October 14, 2026 20:24
@scotthart
scotthart marked this pull request as ready for review October 14, 2026 20:24
@codecov

codecov Bot commented Oct 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.37%. Comparing base (ec90ef5) to head (90e7b0b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16565      +/-   ##
==========================================
- Coverage   92.39%   92.37%   -0.03%     
==========================================
  Files        2265     2266       +1     
  Lines      219470   219471       +1     
==========================================
- Hits       202786   202733      -53     
- Misses      16684    16738      +54     

☔ View full report in Codecov by Harness.
📢 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
scotthart merged commit 4d3f183 into googleapis:main Oct 15, 2026
71 checks passed

This branch was successfully deployed

1 active deployment
false — 90e7b0b9 Deployed Oct 14, 2026 by scotthart via Save PR ref #12450
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.

2 participants