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

stacklok / toolhive / 23592475437
65%

Build:
DEFAULT BRANCH: main
Ran 26 Mar 2026 11:48AM UTC
Jobs 1
Files 584
Run time 2min
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

26 Mar 2026 11:42AM UTC coverage: 65.279% (-0.003%) from 65.282%
23592475437

push

github

web-flow
Fall through to well-known discovery when resource metadata auth fails (#4371)

When a server returns resource_metadata in its WWW-Authenticate header,
Priority 3 (RFC 9728) would hard-return on any failure, preventing
Priorities 4 and 5 from running. For servers like Sourcegraph and
Deepsearch whose authorization_servers list contains path-based URLs
(e.g. /.api/mcp/deepsearch), RFC 8414 tenant extraction generates
/.well-known/oauth-authorization-server/.api/mcp/deepsearch — an
endpoint those servers don't serve. Validation fails, Priority 3
errors, and auth is broken despite Priorities 4/5 being able to
derive the correct root-domain issuer.

Fix by capturing the error from tryDiscoverFromResourceMetadata and
only returning on success; failures now log at DEBUG and fall through
to well-known probing (Priority 4) and URL-derived issuer (Priority 5),
restoring the behaviour that existed before 6cad0b59.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

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

4 existing lines in 2 files now uncovered.

52057 of 79746 relevant lines covered (65.28%)

65.24 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
82.62
-0.26% pkg/vmcp/composer/workflow_engine.go
2
51.71
-0.19% pkg/workloads/manager.go
Jobs
ID Job ID Ran Files Coverage
1 23592475437.1 26 Mar 2026 11:48AM UTC 584
65.28
GitHub Action Run
Source Files on build 23592475437
  • Tree
  • List 584
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23592475437
  • bf94a060 on github
  • Prev Build on main (#23590683587)
  • Next Build on main (#23592820236)
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