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

stacklok / toolhive / 45617794466
75%

Build:
DEFAULT BRANCH: main
Ran 25 Nov 2026 01:00PM UTC
Jobs 1
Files 1066
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 Nov 2026 12:51PM UTC coverage: 74.131% (+0.02%) from 74.113%
45617794466

push

github

web-flow
Accept a trailing slash on an origin-only DCR issuer (#7292)

* Accept a trailing slash on an origin-only DCR issuer

FastMCP-based authorization servers publish "issuer": "https://host/" for a root deployment, while ToolHive derives "https://host" from the discovery URL and compared the two byte for byte, so registration failed. Treat an empty path and "/" as equal for origin-only issuers (RFC 3986 section 6.2.3). Scheme, host and port still match exactly, and an issuer with a path keeps byte-exact equality.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* Document the relaxed issuer check and harden it

Address review feedback on the trailing-slash issuer relaxation. The
DiscoveryURL field, FetchAuthorizationServerMetadataFromURL and the DCR
resolver still described the RFC 8414 section 3.3 check as byte-exact,
which is no longer the contract operators get. Update those comments and
regenerate the swagger and SDK docs so the published field description
matches the behaviour.

Also require a host in issuersEqual so an empty issuer never counts as
origin-only, and replace the unparsable test case with one that only
the parse-error branch rejects.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Alejandro Ponce <aponcedeleonch@stacklok.com>

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

8 existing lines in 1 file now uncovered.

100135 of 135078 relevant lines covered (74.13%)

871.49 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
73.55
-0.23% pkg/ignore/processor.go
Jobs
ID Job ID Ran Files Coverage
1 45617794466.1 25 Nov 2026 01:00PM UTC 1066
74.13
GitHub Action Run
Source Files on build 45617794466
  • Tree
  • List 1066
  • Changed 11
  • Source Changed 5
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45617794466
  • 74e4ad71 on github
  • Prev Build on main (#45615735519)
  • Next Build on main (#45624839783)
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