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

stacklok / toolhive / 23643263095
65%

Build:
DEFAULT BRANCH: main
Ran 27 Mar 2026 11:09AM UTC
Jobs 1
Files 584
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

27 Mar 2026 11:04AM UTC coverage: 65.36% (-0.01%) from 65.371%
23643263095

push

github

web-flow
Return JSON 404 for OAuth discovery when auth is off (#4366)

Return JSON 404 for OAuth discovery when auth is not configured

Claude Code v2.1.83 sends GET /.well-known/oauth-protected-resource
before connecting to any HTTP MCP server. When auth is not configured,
no .well-known handler was registered, so the request fell through to
the MCP catch-all handler whose headerValidatingMiddleware rejected it
with HTTP 406 and a JSON-RPC error body (where "error" is an object).
Claude Code expects "error" as a string for OAuth errors, causing Zod
validation failure and a spurious "needs authentication" prompt.

Always register a .well-known prefix handler. When AuthInfoHandler is
nil, it returns HTTP 404 with {"error":"not_found"} — a clean signal
that no auth metadata exists and the client should proceed without
authentication.

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

12 of 12 new or added lines in 3 files covered. (100.0%)

11 existing lines in 3 files now uncovered.

52398 of 80168 relevant lines covered (65.36%)

64.7 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
82.81
-0.21% pkg/vmcp/composer/workflow_engine.go
3
43.98
-0.66% pkg/transport/stdio.go
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
Jobs
ID Job ID Ran Files Coverage
1 23643263095.1 27 Mar 2026 11:09AM UTC 584
65.36
GitHub Action Run
Source Files on build 23643263095
  • Tree
  • List 584
  • Changed 8
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23643263095
  • 2a89245f on github
  • Prev Build on main (#23643160643)
  • Next Build on main (#23647201639)
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