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

stacklok / toolhive / 30002443191

23 Jul 2026 11:15AM UTC coverage: 69.136% (+0.08%) from 69.057%
30002443191

push

github

web-flow
Update batch e2e test to expect rejection (#5933)

PR #5931 made the streamable-HTTP proxy reject JSON-RPC batches with
HTTP 400 / -32600 to close an authz/audit blind spot, and updated every
unit and integration test accordingly. This e2e test was missed: it
still POSTed a batch and asserted HTTP 200 with two responses, so the
"E2E Tests Core (proxy)" shard failed deterministically on every open
PR regardless of its content.

Assert the batch is rejected (400 / -32600 / id:null), matching the
merged proxy behavior. Batching was removed in MCP revision 2025-06-18;
ToolHive serves only 2025-11-25 and 2026-07-28, so rejection is
spec-conformant.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

76887 of 111212 relevant lines covered (69.14%)

74.55 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

80.56
/pkg/transport/proxy/httpsse/http_proxy.go


Source Not Available

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