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

nats-io / nats-server / 36670582312
80%

Build:
DEFAULT BRANCH: main
Ran 30 Sep 2026 05:55AM 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

28 Sep 2026 03:48PM UTC coverage: 82.665% (-0.07%) from 82.737%
36670582312

push

github

web-flow
[FIXED] MQTT: reload stops QoS 1/2 delivery when max_ack_pending is unset (#8671)

Resolves #8661.

A reload that treats the `mqtt` options as changed calls
`mqttUpdateMaxAckPending`, which assigned the configured
`max_ack_pending` to every existing session as is. When the option is
not set that is 0, and `trackPublish` then refuses a packet ID for every
QoS 1/2 message. New sessions were fine because `mqttSessionCreate`
falls back to `mqttDefaultMaxAckPending`; this applies the same fallback
on reload.

The reporter saw it only with `verify_and_map` because a `tls {}` block
makes every reload re-apply the MQTT options. The test covers that no-op
reload and a reload changing `ack_wait` without TLS; both fail without
the fix. `go test ./server -run TestMQTT` passes.

72040 of 87147 relevant lines covered (82.66%)

312384.15 hits per line

Coverage Regressions

Lines Coverage ∆ File
92
78.17
-2.16% src/github.com/nats-io/nats-server/server/raft.go
62
78.06
-0.58% src/github.com/nats-io/nats-server/server/filestore.go
21
83.49
0.36% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
12
73.6
0.05% src/github.com/nats-io/nats-server/server/jetstream_api.go
6
87.68
-0.04% src/github.com/nats-io/nats-server/server/consumer.go
3
85.02
-0.15% src/github.com/nats-io/nats-server/server/events.go
2
86.04
0.06% src/github.com/nats-io/nats-server/server/accounts.go
2
89.48
-0.08% src/github.com/nats-io/nats-server/server/leafnode.go
2
77.81
0.12% src/github.com/nats-io/nats-server/server/opts.go
Jobs
ID Job ID Ran Files Coverage
1 36670582312.1 30 Sep 2026 05:55AM UTC 66
82.66
GitHub Action Run
Source Files on build 36670582312
  • Tree
  • List 66
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36670582312
  • aabc8b39 on github
  • Prev Build on main (#36523289785)
  • Next Build on main (#36816917800)
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