Skip to content

fix: update default maxRetries to 3 and add retry test for ECONNABORTED

aef10ef
Select commit
Loading
Failed to load commit list.
Open

feat(retry): implement retry logic for ECONNRESET errors #1341

fix: update default maxRetries to 3 and add retry test for ECONNABORTED
aef10ef
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 2, 2026 in 0s

89.58% (+0.01%) compared to e23b4aa

View this Pull Request on Codecov

89.58% (+0.01%) compared to e23b4aa

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.58%. Comparing base (e23b4aa) to head (aef10ef).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1341      +/-   ##
==========================================
+ Coverage   89.57%   89.58%   +0.01%     
==========================================
  Files         426      426              
  Lines       19717    19732      +15     
  Branches     9318     9679     +361     
==========================================
+ Hits        17661    17677      +16     
+ Misses       2056     2055       -1     
Files with missing lines Coverage Δ
src/lib/retry.ts 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.