• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / mpt / 16816361594
88%

Build:
DEFAULT BRANCH: master
Ran 07 Aug 2025 09:35PM UTC
Jobs 1
Files 13
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Aug 2025 09:34PM UTC coverage: 86.31% (+0.4%) from 85.901%
16816361594

push

github

umputun
feat: add automatic retry mechanism for transient provider failures

Implemented configurable retry logic with exponential backoff to handle
transient failures from AI providers. The retry mechanism automatically
retries on network errors, rate limits, and temporary server issues while
avoiding retries on permanent errors like authentication or invalid requests.

- Added RetryableProvider wrapper with thread-safe retry logic
- Integrated go-pkgz/repeater for robust backoff strategies
- Added --retry.max-attempts CLI flag (default: 3)
- Smart error classification to determine retryable vs permanent failures
- Comprehensive test coverage for retry scenarios
- Updated README with retry configuration documentation

The retry logic is transparent to existing code and only activates when
retry.max-attempts is greater than 1. This improves reliability when
dealing with API rate limits or temporary network issues.

135 of 150 new or added lines in 2 files covered. (90.0%)

42 existing lines in 1 file now uncovered.

1532 of 1775 relevant lines covered (86.31%)

22.88 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
95.71
pkg/provider/retry.go
9
81.84
-1.22% cmd/mpt/main.go

Uncovered Existing Lines

Lines Coverage ∆ File
42
81.84
-1.22% cmd/mpt/main.go
Jobs
ID Job ID Ran Files Coverage
1 16816361594.1 07 Aug 2025 09:35PM UTC 13
86.31
GitHub Action Run
Source Files on build 16816361594
  • Tree
  • List 13
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1fb096b0 on github
  • Prev Build on master (#16716605937)
  • Next Build on master (#16816556047)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc