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

lancekrogers / claude-code-go / 42323876671
83%

Build:
DEFAULT BRANCH: main
Ran 07 Nov 2026 01:24AM UTC
Jobs 1
Files 15
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 Nov 2026 01:24AM UTC coverage: 82.853% (+1.4%) from 81.455%
42323876671

push

github

web-flow
fix: wait only before actual retries (#32)

Rate-limit failures currently wait after the final allowed attempt,
delaying the exhausted-retries error. Earlier failures also incur
retry-after plus a separate backoff wait.

Wait once before each actual retry, using the larger of jittered backoff
and the preceding rate-limit delay. Server-dominated waits receive up to
20% positive jitter above the server minimum, so concurrent callers
retain retry spread. Duration conversion and jitter addition saturate
instead of overflowing.

Return exhaustion immediately after the final failure. If the parent
context cancels a failed CLI attempt, return its context error even on
the final attempt. Preserve retry counts and exhausted-error wrapping.
Document delay and timeout semantics.

Tests cover exhaustion with and without hints, a single wait,
rate-limit-to-network transitions, cancellation during the final running
subprocess and retry waits, nonretryable errors, convenience wrappers,
jitter bounds/variability, and duration overflow. Scheduling tests use
an internal per-call wait dependency to record delays without wall-clock
thresholds; subprocess cancellation tests exercise real contexts. The
original exhaustion/additive-wait tests and the follow-up
cancellation/jitter regressions were verified failing before their
respective fixes.

Validation:
- `just test quick`
- `just test race`
- `just lint`
- `just build examples`
- Local subprocess probes verify immediate exhaustion, one rate-limit
wait, and `errors.Is(err, context.DeadlineExceeded)` after cancellation
of the final CLI attempt. No real service calls.

Work item: **WI-62ce60** — `workflow/design/ccgo-issue-31-retry-delay`
in `lancekrogers/claude-code-go-planning`. The branch worktree is linked
to this work item and commits carry its traceability tag.

Fixes #31

38 of 38 new or added lines in 2 files covered. (100.0%)

2300 of 2776 relevant lines covered (82.85%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42323876671.1 07 Nov 2026 01:24AM UTC 15
82.85
GitHub Action Run
Source Files on build 42323876671
  • Tree
  • List 15
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42323876671
  • df62aafc on github
  • Prev Build on main (#40878094775)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc