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

dunglas / mercure / 30342913285
89%
master: 93%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 28 Jul 2026 08:36AM 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

28 Jul 2026 08:34AM UTC coverage: 88.72% (+0.07%) from 88.651%
30342913285

push

github

dunglas
fix: announce a subscription only once it exists

dispatchSubscriptionUpdate(active: true) ran before transport.AddSubscriber,
so a failed registration published an arrival for a subscriber that never
connected and then took it back with a compensating active:false. Observers
of the subscriptions namespace saw a subscriber appear and vanish while
metrics.SubscriberConnected never ran.

Registering first also makes the pair symmetric with shutdown(), which
already removes the subscriber before announcing active:false.

Side effect worth noting: a subscriber authorized for the subscriptions
namespace now receives its own active:true, because it is in the subscriber
list by the time the event is dispatched. That closes a gap for the
documented "fetch a snapshot, then follow events" flow, where its own
subscription previously appeared in neither.

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

2564 of 2890 relevant lines covered (88.72%)

219.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 0 - 30342913285.1 28 Jul 2026 08:36AM UTC 35
88.72
GitHub Action Run
Source Files on build 30342913285
  • Tree
  • List 35
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 583d9d47 on github
  • Prev Build on main (#30342629935)
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