Skip to content

fix(gaxi): retry connect errors#3656

Merged
dbolduc merged 1 commit intogoogleapis:mainfrom
dbolduc:fix-gaxi-http-connect-errors
Oct 31, 2025
Merged

fix(gaxi): retry connect errors#3656
dbolduc merged 1 commit intogoogleapis:mainfrom
dbolduc:fix-gaxi-http-connect-errors

Conversation

@dbolduc
Copy link
Copy Markdown
Member

@dbolduc dbolduc commented Oct 31, 2025

Part of the work for #3640

This PR effectively starts retrying connect errors, for non-idempotent operations, by default, in GAPICs.

Note that we marked connect errors as is_transient_and_before_rpc in #3654. Thus, connect errors would be retried by the default retry policy(Aip194Strict)...

... if they existed. But we did not ever classify an error as connect. This PR starts classifying the HTTP connect errors as such.

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 31, 2025

Codecov Report

❌ Patch coverage is 75.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.83%. Comparing base (7d399d2) to head (f686d07).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/gax-internal/src/http.rs 75.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3656      +/-   ##
==========================================
- Coverage   95.90%   95.83%   -0.07%     
==========================================
  Files         128      128              
  Lines        5152     5162      +10     
==========================================
+ Hits         4941     4947       +6     
- Misses        211      215       +4     

☔ 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 October 31, 2025 16:18
@dbolduc dbolduc requested a review from a team October 31, 2025 16:18
@dbolduc dbolduc merged commit 637224d into googleapis:main Oct 31, 2025
28 checks passed
@dbolduc dbolduc deleted the fix-gaxi-http-connect-errors branch October 31, 2025 16:20
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