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

dunglas / mercure / 30169178286
88%
master: 93%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 25 Jul 2026 06:15PM 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

25 Jul 2026 06:12PM UTC coverage: 88.309% (+0.05%) from 88.256%
30169178286

Pull #1325

github

Kévin Dunglas
refactor: drop a redundant timer drain and router setup

The heartbeat timer was stopped and drained before every Reset. Go 1.23
made timer channels unbuffered and has Reset discard any value that was
waiting, so Reset alone is correct; go.mod requires 1.26. Verified the
drain never actually deadlocked (193k iterations of the pattern) before
removing it, so this is a simplification and not a fix.

registerSubscriptionHandlers re-applied UseEncodedPath and SkipClean to the
router initHandler had already configured, and it has one caller. The lines
also implied the encoded-path behaviour was local to the subscription
routes when it governs publish and subscribe too.

Also correct the comment on the verified-issuer check in validateJWT: it
credited itself with preventing cross-issuer acceptance, which
selectVerifier does by looking the issuer up before choosing a keyfunc.
The check is kept, as a guard should that fallback ever widen.
Pull Request #1325: refactor: drop a redundant timer drain and router setup

2538 of 2874 relevant lines covered (88.31%)

111.09 hits per line

Coverage Regressions

Lines Coverage ∆ File
15
86.44
0.49% subscribe.go
4
91.43
0.0% authorization.go
Jobs
ID Job ID Ran Files Coverage
1 0 - 30169178286.1 25 Jul 2026 06:15PM UTC 35
88.31
GitHub Action Run
Source Files on build 30169178286
  • Tree
  • List 35
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1325
  • PR Base - 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