Skip to content

refactor(pubsub): return weak senders from lease loop#5460

Open
dbolduc wants to merge 1 commit intogoogleapis:mainfrom
dbolduc:refactor-pubsub-lease-loop-outputs
Open

refactor(pubsub): return weak senders from lease loop#5460
dbolduc wants to merge 1 commit intogoogleapis:mainfrom
dbolduc:refactor-pubsub-lease-loop-outputs

Conversation

@dbolduc
Copy link
Copy Markdown
Member

@dbolduc dbolduc commented Apr 17, 2026

Fixes #5255

LeaseLoop owns the shutdown behavior, instead of having the logic split between the MessageStream and the LeaseLoop. Seems slightly cleaner.

@product-auto-label product-auto-label bot added the api: pubsub Issues related to the Pub/Sub API. label Apr 17, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 17, 2026

Codecov Report

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5460   +/-   ##
=======================================
  Coverage   97.73%   97.74%           
=======================================
  Files         217      217           
  Lines       48177    48187   +10     
=======================================
+ Hits        47085    47098   +13     
+ Misses       1092     1089    -3     

☔ 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 April 18, 2026 00:31
@dbolduc dbolduc requested a review from a team as a code owner April 18, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsub Issues related to the Pub/Sub API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider yielding weak senders + cancellation token from lease loop

1 participant