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

nats-io / nats-server / 39371413593
75%

Build:
DEFAULT BRANCH: main
Ran 20 Oct 2026 05:53AM UTC
Jobs 1
Files 66
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

15 Oct 2026 06:16AM UTC coverage: 81.46% (+4.4%) from 77.091%
39371413593

push

github

web-flow
(2.15) [FIXED] Scale up from R1 and scale down stalling on learners (#8762)

Scale down would wait for new peers (learners) to be added before
selecting the scale down peers. Selecting the scale down peers first can
remove the need to add, or wait for, (as many) learners.

Additionally, when scaling up from R1 with writes outpacing replication,
the learner would only be added once fully caught up. Since R1 quorum is
instant, as it doesn't wait on the network, the learner could keep
trailing and never be added. The first learner is now added after at
most 10s. Catchup is usually much faster than that, but in such a
pathological scenario this needs to be bounded to provide backpressure.

71698 of 88016 relevant lines covered (81.46%)

353082.65 hits per line

Coverage Regressions

Lines Coverage ∆ File
62
77.77
-0.38% src/github.com/nats-io/nats-server/server/filestore.go
34
76.98
-0.05% src/github.com/nats-io/nats-server/server/raft.go
15
83.83
0.01% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
7
84.38
-0.25% src/github.com/nats-io/nats-server/server/jetstream.go
7
64.22
1.12% src/github.com/nats-io/nats-server/server/opts.go
6
87.72
0.13% src/github.com/nats-io/nats-server/server/consumer.go
5
73.96
0.48% src/github.com/nats-io/nats-server/server/jetstream_api.go
5
85.8
0.19% src/github.com/nats-io/nats-server/server/stream.go
3
91.91
2.21% src/github.com/nats-io/nats-server/server/client.go
3
94.38
0.24% src/github.com/nats-io/nats-server/server/gateway.go
2
89.53
0.08% src/github.com/nats-io/nats-server/server/leafnode.go
1
86.38
0.47% src/github.com/nats-io/nats-server/server/util.go
Jobs
ID Job ID Ran Files Coverage
1 39371413593.1 20 Oct 2026 05:53AM UTC 66
81.46
GitHub Action Run
Source Files on build 39371413593
  • Tree
  • List 66
  • Changed 30
  • Source Changed 0
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39371413593
  • b55d9693 on github
  • Prev Build on main (#39201536505)
  • Next Build on main (#39546067964)
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