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

nats-io / nats-server / 16134209177
83%

Build:
DEFAULT BRANCH: main
Ran 08 Jul 2025 05:44AM UTC
Jobs 1
Files 58
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 Jul 2025 11:58AM UTC coverage: 85.635% (-0.09%) from 85.726%
16134209177

push

github

web-flow
NRG: Don't compact on catchup until snapshot written (#7043)

The `n.wal.Compact()` call before `n.installSnapshot()` is potentially
dangerous in a crash scenario as we could blow away the log without
having written the snapshot to disk yet. Once the snapshot is written,
`n.installSnapshot()` will compact the log itself to the same index (as
`lastIndex == n.pindex`).

Signed-off-by: Neil Twigg <neil@nats.io>

70196 of 81971 relevant lines covered (85.64%)

379698.51 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
95.12
0.25% src/github.com/nats-io/nats-server/server/client.go
2
86.44
-0.05% src/github.com/nats-io/nats-server/server/events.go
2
82.67
-0.09% src/github.com/nats-io/nats-server/server/jetstream.go
5
81.19
-0.04% src/github.com/nats-io/nats-server/server/opts.go
6
72.87
-0.06% src/github.com/nats-io/nats-server/server/jetstream_api.go
9
87.51
-0.14% src/github.com/nats-io/nats-server/server/consumer.go
15
88.99
-0.38% src/github.com/nats-io/nats-server/server/mqtt.go
18
85.39
-0.33% src/github.com/nats-io/nats-server/server/stream.go
21
85.79
-0.39% src/github.com/nats-io/nats-server/server/memstore.go
27
81.55
0.34% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
70
83.31
-0.84% src/github.com/nats-io/nats-server/server/filestore.go
151
85.87
-0.08% src/github.com/nats-io/nats-server/server/raft.go
Jobs
ID Job ID Ran Files Coverage
1 16134209177.1 08 Jul 2025 05:44AM UTC 58
85.64
GitHub Action Run
Source Files on build 16134209177
  • Tree
  • List 58
  • Changed 16
  • Source Changed 1
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16134209177
  • cf5239bb on github
  • Prev Build on main (#16107868328)
  • Next Build on main (#16160582144)
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