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

nats-io / nats-server / 21236580605
85%

Build:
DEFAULT BRANCH: main
Ran 22 Jan 2026 06:00AM UTC
Jobs 1
Files 61
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

21 Jan 2026 04:00PM UTC coverage: 84.642% (+0.9%) from 83.701%
21236580605

push

github

web-flow
[IMPROVED] Filestore LoadNextMsgMulti can skip blocks (#7750)

`fs.LoadNextMsg` and `mb.firstMatching` already had optimizations to
skip blocks that aren't relevant for the provided filter subject,
however `fs.LoadNextMsgMulti` and `mb.firstMatchingMulti` didn't. This
PR implements the same optimizations, as well as only requiring `mb.fss`
to be loaded to determine interest. Only if there's interest do we need
potentially load the full cache into memory.

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>

74236 of 87706 relevant lines covered (84.64%)

349718.55 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
82.89
-0.05% src/github.com/nats-io/nats-server/server/memstore.go
1
86.18
0.46% src/github.com/nats-io/nats-server/server/util.go
2
93.87
0.21% src/github.com/nats-io/nats-server/server/client.go
2
63.16
-10.53% src/github.com/nats-io/nats-server/server/jetstream_events.go
3
86.49
0.09% src/github.com/nats-io/nats-server/server/events.go
3
79.43
0.76% src/github.com/nats-io/nats-server/server/opts.go
4
87.08
-0.04% src/github.com/nats-io/nats-server/server/monitor.go
8
93.6
-0.32% src/github.com/nats-io/nats-server/server/gateway.go
8
73.68
-0.14% src/github.com/nats-io/nats-server/server/jetstream_api.go
12
88.46
0.15% src/github.com/nats-io/nats-server/server/consumer.go
17
87.32
0.33% src/github.com/nats-io/nats-server/server/raft.go
57
82.04
-0.54% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
1085
82.89
0.7% src/github.com/nats-io/nats-server/server/filestore.go
Jobs
ID Job ID Ran Files Coverage
1 21236580605.1 22 Jan 2026 06:00AM UTC 61
84.64
GitHub Action Run
Source Files on build 21236580605
  • Tree
  • List 61
  • Changed 22
  • Source Changed 1
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21236580605
  • e70b9ee0 on github
  • Prev Build on main (#21197730320)
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