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

dunglas / mercure / 30115936829
89%
master: 93%

Build:
Build:
LAST BUILD BRANCH: refactor/internal-error-sentinels
DEFAULT BRANCH: master
Ran 24 Jul 2026 06:13PM UTC
Jobs 1
Files 35
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

24 Jul 2026 06:11PM UTC coverage: 88.256% (+0.004%) from 88.252%
30115936829

push

github

web-flow
feat!: derive hub public URL from the request (#1312)

The hub validated tokens against a single static resource_identifier and
built the RFC 9728 metadata URL once at startup, so a hub reachable
through several public URLs needed manual, duplicated domain config.

Derive the identity per request instead: the OAuth 2.0 resource
identifier (aud) and the protected resource metadata now come from the
public URL the client contacted, resolved in the Caddy module from
Caddy request placeholders (trusted_proxies aware) and injected into the
request context. Several domains work with no configuration; the site
host matching already restricts which Host reaches the hub.

Add a public_urls allowlist that pins the accepted scheme and host and
rejects an unlisted origin with 421 Misdirected Request, for a catch-all
site block that would otherwise let a client pick the derived identity.
resource_identifier stays as an optional override to pin one canonical
audience across every domain.

BREAKING CHANGE: NewHub no longer requires a resource identifier; it
derives one per request when none is configured.

97 of 99 new or added lines in 8 files covered. (97.98%)

4 existing lines in 2 files now uncovered.

2540 of 2878 relevant lines covered (88.26%)

111.1 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
92.93
-0.1% hub.go

Coverage Regressions

Lines Coverage ∆ File
2
85.96
-0.56% subscribe.go
2
89.19
-1.8% topicmatcher.go
Jobs
ID Job ID Ran Files Coverage
1 0 - 30115936829.1 24 Jul 2026 06:13PM UTC 35
88.26
GitHub Action Run
Source Files on build 30115936829
  • Tree
  • List 35
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5902e253 on github
  • Prev Build on main (#29927027420)
  • Next Build on main (#30115963922)
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