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

nats-io / nats-server / 16613790579
83%

Build:
DEFAULT BRANCH: main
Ran 30 Jul 2025 05:54AM UTC
Jobs 1
Files 59
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

29 Jul 2025 01:19PM UTC coverage: 85.828% (-0.07%) from 85.901%
16613790579

push

github

web-flow
(2.12) Don't propose deletion of failed consumer assignment (#7112)

The way that consumer assignments were proposed was changed in #7071 so
that the stream leader is responsible for those updates instead of the
metaleader. This subtly changes the timing involved in stream moves and
cancels, as it is now not a given that the consumer assignments are
always serialised with stream assignments in the same order. If a
consumer assignment fails due to a cancelled stream move for example, we
should not propose deleting the consumer, as the new stream leader will
shortly come along and update the assignment correctly for the new
placement.

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

71408 of 83199 relevant lines covered (85.83%)

345810.39 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
72.46
0.0% src/github.com/nats-io/nats-server/server/avl/seqset.go
2
63.16
-10.53% src/github.com/nats-io/nats-server/server/jetstream_events.go
2
84.51
-0.07% src/github.com/nats-io/nats-server/server/monitor.go
2
93.59
0.0% src/github.com/nats-io/nats-server/server/route.go
3
86.85
-0.09% src/github.com/nats-io/nats-server/server/accounts.go
3
88.99
-0.08% src/github.com/nats-io/nats-server/server/mqtt.go
4
86.58
-0.05% src/github.com/nats-io/nats-server/server/events.go
4
94.38
-0.08% src/github.com/nats-io/nats-server/server/gateway.go
4
72.93
-0.03% src/github.com/nats-io/nats-server/server/jetstream_api.go
15
95.05
0.43% src/github.com/nats-io/nats-server/server/jetstream_batching.go
16
86.33
0.28% src/github.com/nats-io/nats-server/server/memstore.go
25
87.69
-0.36% src/github.com/nats-io/nats-server/server/consumer.go
150
82.76
0.0% src/github.com/nats-io/nats-server/server/jetstream.go
292
84.53
0.08% src/github.com/nats-io/nats-server/server/filestore.go
358
85.81
-0.65% src/github.com/nats-io/nats-server/server/raft.go
420
81.46
-0.13% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
500
53.57
-0.24% src/github.com/nats-io/nats-server/server/jetstream_errors_generated.go
591
85.89
-0.3% src/github.com/nats-io/nats-server/server/stream.go
690
81.01
-0.27% src/github.com/nats-io/nats-server/server/opts.go
Jobs
ID Job ID Ran Files Coverage
1 16613790579.1 30 Jul 2025 05:54AM UTC 59
85.83
GitHub Action Run
Source Files on build 16613790579
  • Tree
  • List 59
  • Changed 21
  • Source Changed 9
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16613790579
  • 0da299d7 on github
  • Prev Build on main (#16587034244)
  • Next Build on main (#16640185520)
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