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

umputun / mpt / 18989056683
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/golang.org/x/crypto-0.45.0
DEFAULT BRANCH: master
Ran 01 Nov 2025 01:13AM UTC
Jobs 1
Files 17
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

01 Nov 2025 01:10AM UTC coverage: 88.167% (+0.1%) from 88.059%
18989056683

push

github

umputun
fix(provider): add HTTP status code validation for non-JSON error responses

add validation to detect and properly handle non-JSON HTTP error responses
(e.g., HTML error pages from proxies, cloudflare errors). the fix checks
if non-2xx responses contain JSON before passing to error parsers.

- preserve existing behavior for JSON error responses from OpenAI API
- return immediate error with status code for HTML/text error responses
- add test case for non-JSON error handling (502 bad gateway)

this prevents cryptic parsing errors when encountering proxy or gateway errors.

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

2295 of 2603 relevant lines covered (88.17%)

34.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 18989056683.1 01 Nov 2025 01:13AM UTC 17
88.17
GitHub Action Run
Source Files on build 18989056683
  • Tree
  • List 17
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 90fb6769 on github
  • Prev Build on master (#18987813992)
  • 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