Skip to content

fix(pubsub): default shutdown behavior#5110

Merged
dbolduc merged 1 commit intogoogleapis:mainfrom
dbolduc:impl-pubsub-default-shutdown-behavior
Mar 24, 2026
Merged

fix(pubsub): default shutdown behavior#5110
dbolduc merged 1 commit intogoogleapis:mainfrom
dbolduc:impl-pubsub-default-shutdown-behavior

Conversation

@dbolduc
Copy link
Copy Markdown
Member

@dbolduc dbolduc commented Mar 23, 2026

Fixes #4869

Change the default shutdown behavior to wait until the application has consumed all of its ack handlers.

@product-auto-label product-auto-label bot added the api: pubsub Issues related to the Pub/Sub API. label Mar 23, 2026
@dbolduc
Copy link
Copy Markdown
Member Author

dbolduc commented Mar 23, 2026

/gcbrun(cf66c8e)

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.46%. Comparing base (99e7f42) to head (cf66c8e).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5110   +/-   ##
=======================================
  Coverage   97.46%   97.46%           
=======================================
  Files         215      215           
  Lines       41719    41719           
=======================================
  Hits        40663    40663           
  Misses       1056     1056           

☔ 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 March 23, 2026 22:04
@dbolduc dbolduc requested a review from a team as a code owner March 23, 2026 22:04
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.

If you are blocked, here is a LGTM, the code looks safe. If you want real feedback maybe wait for a different reviewer?

@dbolduc dbolduc merged commit 97afd94 into googleapis:main Mar 24, 2026
35 of 36 checks passed
@dbolduc dbolduc deleted the impl-pubsub-default-shutdown-behavior branch March 24, 2026 01:03
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.

Default shutdown behavior for message streams

2 participants