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

nats-io / nats.go / 30078817759
85%

Build:
DEFAULT BRANCH: main
Ran 24 Jul 2026 08:29AM 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

24 Jul 2026 08:24AM UTC coverage: 85.385% (+0.005%) from 85.38%
30078817759

push

github

web-flow
iter: don't yield a phantom (nil, nil) after MsgsTimeout's ErrTimeout (#2093)

After NextMsg returns ErrTimeout the iterator was yielding (nil, err),
honoring the caller's 'keep going' signal correctly, and then falling
through to yield(msg, nil) with msg still nil. So a 'for msg, err :=
range sub.MsgsTimeout(...)' that continued past a timeout was getting
two yields per tick: one (nil, ErrTimeout) and then a phantom (nil, nil).

Mirrors the rest of the function. Added a regression test that asserts
three consecutive yields against a quiet subject are all ErrTimeout
with no phantoms in between; fails on master.

Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>

14834 of 17373 relevant lines covered (85.39%)

32401.67 hits per line

Coverage Regressions

Lines Coverage ∆ File
23
92.35
0.0% micro/service.go
5
88.38
-1.14% jetstream/publish.go
4
82.99
-0.16% js.go
3
89.69
0.17% nats.go
Jobs
ID Job ID Ran Files Coverage
1 30078817759.1 24 Jul 2026 08:29AM UTC 37
85.39
GitHub Action Run
Source Files on build 30078817759
  • Tree
  • List 37
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30078817759
  • 9d92e853 on github
  • Prev Build on main (#29911081481)
  • Next Build on main (#30098320309)
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