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

agentjido / req_llm / 2efaac748d0d8b3d0ad85c2efe8179a44c2a7091
49%

Build:
DEFAULT BRANCH: main
Ran 16 Oct 2025 07:56PM UTC
Jobs 4
Files 79
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

16 Oct 2025 07:55PM UTC coverage: 50.414% (+0.05%) from 50.361%
2efaac748d0d8b3d0ad85c2efe8179a44c2a7091

push

github

web-flow
Fix #65: Add HTTP status validation to StreamServer (#109)

* Fix #65: Add HTTP status validation to StreamServer

- Check HTTP status code before processing data chunks
- Build proper API error from error JSON response body
- Halt stream with error when status >= 400
- Prevents error JSON from being passed to SSE parser

Previously, HTTP error responses (4xx/5xx) were being passed to the
SSE parser which couldn't parse them, resulting in empty streams with
no error information. Now errors are properly captured and propagated
through the metadata task.

Amp-Thread-ID: https://ampcode.com/threads/T-2bb95463-44a7-4d42-887c-2c7d24d5155a
Co-authored-by: Amp <amp@ampcode.com>

* Add test coverage for HTTP error status code handling

- Test 401 authentication errors with JSON error response
- Test 5xx server errors
- Test non-JSON error responses
- Verify error details are properly extracted and returned

* Formatting

---------

Co-authored-by: Amp <amp@ampcode.com>

10 of 12 new or added lines in 1 file covered. (83.33%)

3285 of 6516 relevant lines covered (50.41%)

447.04 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
76.15
0.27% lib/req_llm/stream_server.ex
Jobs
ID Job ID Ran Files Coverage
1 2efaac748d0d8b3d0ad85c2efe8179a44c2a7091.1 16 Oct 2025 07:56PM UTC 79
50.29
GitHub Action Run
2 2efaac748d0d8b3d0ad85c2efe8179a44c2a7091.2 16 Oct 2025 07:56PM UTC 79
50.35
GitHub Action Run
3 2efaac748d0d8b3d0ad85c2efe8179a44c2a7091.3 16 Oct 2025 07:56PM UTC 79
50.29
GitHub Action Run
4 2efaac748d0d8b3d0ad85c2efe8179a44c2a7091.4 16 Oct 2025 07:56PM UTC 79
50.4
GitHub Action Run
Source Files on build 2efaac748d0d8b3d0ad85c2efe8179a44c2a7091
  • Tree
  • List 79
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2efaac74 on github
  • Prev Build on main (#2CD4206E...)
  • Next Build on main (#53792669...)
  • 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

© 2026 Coveralls, Inc