Skip to content

cleanup(pubsub)!: move the BasePublisher out of crate::client::*#4637

Merged
suzmue merged 1 commit intogoogleapis:mainfrom
suzmue:movebase
Feb 18, 2026
Merged

cleanup(pubsub)!: move the BasePublisher out of crate::client::*#4637
suzmue merged 1 commit intogoogleapis:mainfrom
suzmue:movebase

Conversation

@suzmue
Copy link
Copy Markdown
Collaborator

@suzmue suzmue commented Feb 10, 2026

Resource sharing between publishers is an advanced use case. Moving the BasePublisher out of the main entry point (crate::client::*) simplifies the discoverability of the Publisher for most of our users while still leaving it accessible. It is likely we will also want to export the Publisher from this module as well (and do the same with the Subscriber).

For #4282

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 10, 2026

Codecov Report

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4637   +/-   ##
=======================================
  Coverage   95.06%   95.06%           
=======================================
  Files         198      198           
  Lines        7598     7598           
=======================================
  Hits         7223     7223           
  Misses        375      375           

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

@suzmue suzmue marked this pull request as ready for review February 11, 2026 21:19
@suzmue suzmue requested a review from a team as a code owner February 11, 2026 21:19
Copy link
Copy Markdown
Collaborator

@coryan coryan left a comment

Choose a reason for hiding this comment

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

I think this is fine, but I am not seeing the whole picture. Maybe run it by somebody who does?

@suzmue suzmue force-pushed the movebase branch 3 times, most recently from 71d8a66 to 7065c93 Compare February 18, 2026 21:38
Resource sharing between publishers is an advanced use case. Moving
the BasePublisher out of the main entry point (crate::client::*)
simplifies the discoverability of the Publisher for most of our
users while still leaving it accessible. It is likely we will also
want to export the Publisher from this module as well (and apply
the same to the subscriber).

For googleapis#4282
@suzmue suzmue enabled auto-merge (squash) February 18, 2026 21:40
@suzmue suzmue merged commit 00fc543 into googleapis:main Feb 18, 2026
35 checks passed
@suzmue suzmue deleted the movebase branch February 18, 2026 22:09
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.

3 participants