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

dunglas / mercure / 29593268552
85%
master: 93%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 17 Jul 2026 03:45PM UTC
Jobs 1
Files 37
Run time 2141min
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

17 Jul 2026 03:42PM UTC coverage: 85.105% (+0.9%) from 84.18%
29593268552

Pull #1278

github

dunglas
refactor!: rename topic selector to topic matcher

The protocol spec renamed the "topic selector" concept to "topic matcher"
(v8 keeps the old term only for migration). Align the codebase: rename
TopicSelectorStore and its constructor, option, default-size constant,
transport interface, files, error strings and the standalone-server flag help.

Also simplify the Caddy cache config: drop the unused sharded cache fields
(MaxEntriesPerShard, ShardCount, CacheShardSize) and the nested `cache` object
in favor of a single `topic_matcher_cache_size` field, and rename the
`topic_selector_cache` Caddyfile directive to `topic_matcher_cache`. This also
makes a negative value correctly disable the cache.

Comments that describe v8-specific behavior keep the "selector" term, which is
what v8 calls it. Removes the stale mercure_topic_selector_cache_* metric row
from the docs (no such metric is emitted).

BREAKING CHANGE: the TopicSelector* exported API, the topic_selector_cache
Caddyfile directive, and the JSON `cache` config object are renamed/removed.
Pull Request #1278: feat!: OAuth 2.0 authorization, Exact/URLPattern matchers, and docs

2714 of 3189 relevant lines covered (85.11%)

100.81 hits per line

Coverage Regressions

Lines Coverage ∆ File
48
83.92
-1.16% subscribe.go
31
78.66
0.88% subscription.go
20
93.1
-3.12% hub.go
20
86.83
-1.75% publish.go
17
80.4
0.08% bolt.go
14
88.8
-7.2% authorization.go
7
94.57
-4.13% subscriber.go
5
93.75
1.44% handler.go
4
90.91
-9.09% update.go
3
82.93
0.43% demo.go
3
84.16
0.08% handler_deprecated.go
2
81.82
-6.06% jwtkeyfunc.go
Jobs
ID Job ID Ran Files Coverage
1 0 - 29593268552.1 17 Jul 2026 03:45PM UTC 37
85.11
GitHub Action Run
Source Files on build 29593268552
  • Tree
  • List 37
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1278
  • PR Base - main (#29220830659)
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