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

nats-io / nats.go / 25487621688
85%

Build:
DEFAULT BRANCH: main
Ran 07 May 2026 09:34AM UTC
Jobs 1
Files 37
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

07 May 2026 09:28AM UTC coverage: 85.5% (+0.01%) from 85.488%
25487621688

push

github

web-flow
[FIXED] Subscription.StatusChanged channel closure on Closed Subscription (#2034)

The Subscription.StatusChanged godoc mentions that the returned channel
will be closed when the subscription is closed. However, this is the
case only if the subscription is closed after the StatusChanged channel
is created and registered to listen for changes.

To prevent consumers from waiting on signals from closed subscriptions,
lets close the channel if the current status of the Subscription is
already SubscriptionClosed. If the consumer is subscribing to
SubscriptionClosed, we send this status on the channel before closing
the channel for backwards compatibility.

Signed-off-by: Nithilan Manimaran Pugazhendhi <nithilan.pugazhendhi@imc.com>

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

11 existing lines in 1 file now uncovered.

14747 of 17248 relevant lines covered (85.5%)

32945.38 hits per line

Coverage Regressions

Lines Coverage ∆ File
11
89.63
-0.15% nats.go
Jobs
ID Job ID Ran Files Coverage
1 25487621688.1 07 May 2026 09:34AM UTC 37
85.5
GitHub Action Run
Source Files on build 25487621688
  • Tree
  • List 37
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25487621688
  • 609274f8 on github
  • Prev Build on main (#25480032262)
  • Next Build on main (#25488375355)
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