Skip to content

impl(pubsub): resume streams on transport errors#4411

Merged
dbolduc merged 1 commit intogoogleapis:mainfrom
dbolduc:impl-pubsub-more-resumes
Jan 26, 2026
Merged

impl(pubsub): resume streams on transport errors#4411
dbolduc merged 1 commit intogoogleapis:mainfrom
dbolduc:impl-pubsub-more-resumes

Conversation

@dbolduc
Copy link
Copy Markdown
Member

@dbolduc dbolduc commented Jan 26, 2026

Fixes #4097

Resume streams that fail with transport errors.

This is maybe too conservative, as we could probably retry attempts to open a stream that fail with transient errors... but it is more generous than before. And we know RST_STREAM errors are a thing that surface as transport errors.

We can further improve the retry policy, as I try to catch more failure modes in the wild.

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

codecov bot commented Jan 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.97%. Comparing base (4595c04) to head (5b30379).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4411      +/-   ##
==========================================
- Coverage   94.98%   94.97%   -0.02%     
==========================================
  Files         191      191              
  Lines        7265     7267       +2     
==========================================
+ Hits         6901     6902       +1     
- Misses        364      365       +1     

☔ 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 January 26, 2026 21:56
@dbolduc dbolduc requested a review from a team January 26, 2026 21:56
@dbolduc dbolduc merged commit 512632e into googleapis:main Jan 26, 2026
30 checks passed
@dbolduc dbolduc deleted the impl-pubsub-more-resumes branch February 11, 2026 20:37
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.

Resumes for subscriber stream transient failures

2 participants