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

stacklok / toolhive / 30168617816
69%
main: 75%

Build:
Build:
LAST BUILD BRANCH: claude/clever-ishizaka-dea55f
DEFAULT BRANCH: main
Ran 25 Jul 2026 06:04PM UTC
Jobs 1
Files 836
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

25 Jul 2026 04:36PM UTC coverage: 69.375%. First build
30168617816

Pull #5981

github

jhrozek
Revert global Accept default; opt in only for real backends

The near-final "Send required Accept header" commit made SendRaw set
Accept: application/json, text/event-stream on every request. The
ToolHive streamable proxy switches to its SSE response path for any
Accept containing text/event-stream, emitting `data: {...}` frames, but
the raw client's populateEnvelope only parses a plain JSON body -- so on
the streamable-proxy specs resp.Result stayed nil and nonce extraction
returned "". That silently broke the four specs that parse response
bodies (cross-delivery crown jewel, concurrent mixing, resilience
hang/crash), and directly contradicted dual_era_mixing_test.go's own
comment, which had already documented why Accept must NOT be set here.
The resilience specs also assert HTTP 504 / >=500, which the SSE path
never returns (it answers 200 with an in-band error frame) -- so SSE
unwrapping alone would not have fixed them.

Revert the global default so proxy requests get a plain JSON body again.
The k8s tier legitimately needs the header (its real go-sdk backend 400s
without it and only checks status), so add an explicit opt-in --
RawRequest.WithStreamableAccept() -- and call it on the two k8s Modern
requests. This restores the documented, verified plain-JSON behavior for
every proxy spec while keeping the k8s tier correct.

Verified locally: LABEL_FILTER=dual-era task test-e2e -> 11/11 pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Pull Request #5981: Add live e2e tests for dual-era stateless proxy behavior

79262 of 114252 relevant lines covered (69.37%)

81.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30168617816.1 25 Jul 2026 06:04PM UTC 836
69.37
GitHub Action Run
Source Files on build 30168617816
  • Tree
  • List 836
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30168617816
  • Pull Request #5981
  • Next Build on dual-era-e2e-tests (#30200615683)
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