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

dcdpr / jp / 25557841148
66%

Build:
DEFAULT BRANCH: main
Ran 08 May 2026 01:22PM UTC
Jobs 1
Files 301
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

08 May 2026 01:19PM UTC coverage: 66.272% (+0.02%) from 66.25%
25557841148

push

github

web-flow
fix(llm, openai): Classify overload errors as transient/retryable (#624)

The `classify_stream_error` function previously only treated
`server_error` and `api_error` types as transient. This meant that
overload-specific error signals were silently falling through to
`StreamError::Other`, making them non-retryable.

Two additional cases are now covered:

- `service_unavailable_error` type with `code=server_is_overloaded` is
the documented in-stream form of OpenAI's 503 "engine is currently
overloaded" condition. The discriminator lives in `code`, not `type`, so
both fields are now checked.

- `overloaded_error` type, used by some OpenAI-compatible providers that
reuse Anthropic's error taxonomy.

Either a matching `type` or a matching `code` is sufficient to classify
the error as transient, preserving any `retry-after` hint that may be
present on the error.

Signed-off-by: Jean Mertz <git@jeanmertz.com>

5 of 5 new or added lines in 1 file covered. (100.0%)

25771 of 38887 relevant lines covered (66.27%)

229.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25557841148.1 08 May 2026 01:22PM UTC 301
66.27
GitHub Action Run
Source Files on build 25557841148
  • Tree
  • List 301
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25557841148
  • 9fd4ebfe on github
  • Prev Build on main (#25508761275)
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

© 2026 Coveralls, Inc