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

nats-io / nats-server
86%

Build:
DEFAULT BRANCH: main
Repo Added 06 May 2019 06:55PM UTC
Files 61
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • change_nightly_from_main_to_dev
  • fix_code_coverage
  • fix_flappers_update_cov_go
  • main

20 Nov 2025 05:46PM UTC coverage: 86.058% (+1.3%) from 84.73%
19560257352

push

github

web-flow
fix: ensure mqtt max_payload is enforced and tests are included (#7555)

Description:
- add `TestMQTTMaxPayloadEnforced` into `server/mqtt_test.go`, reuse
existing helpers.
- ensure oversized MQTT publish now fails the connection check instead
of silently being accepted.
- keep `max_payload` violation handling consistent with other protocols
and replicate the bug described in
https://github.com/nats-io/nats-server/issues/7439

Tests:
- `go test ./server -run TestMQTTMaxPayloadEnforced -count=1 -v`

Signed-off-by: orician <2018783812@qq.com>

74995 of 87145 relevant lines covered (86.06%)

318504.93 hits per line

Relevant lines Covered
Build:
Build:
87145 RELEVANT LINES 74995 COVERED LINES
318504.93 HITS PER LINE
Source Files on main
  • Tree
  • List 61
  • Changed 34
  • Source Changed 2
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19560257352 main fix: ensure mqtt max_payload is enforced and tests are included (#7555) Description: - add `TestMQTTMaxPayloadEnforced` into `server/mqtt_test.go`, reuse existing helpers. - ensure oversized MQTT publish now fails the connection check instead of ... push 21 Nov 2025 05:50AM UTC web-flow github
86.06
19525901012 main [IMPROVED] Stage meta operations during Raft catchup (#7540) When the Raft node underlying the meta layer enters catchup from another server, it gets placed in the same "recovery mode" such that it can stage changes into `ru *recoveryUpdates` suc... push 20 Nov 2025 05:49AM UTC web-flow github
84.73
19490107246 main (2.14) [FIXED] Filestore delete map race (#7560) Fixes a data race introduced in https://github.com/nats-io/nats-server/pull/7387: ``` WARNING: DATA RACE Read at 0x00c0002d17f0 by goroutine 527: github.com/nats-io/nats-server/v2/server/avl.(*S... push 19 Nov 2025 05:49AM UTC web-flow github
85.98
19454451971 main (2.14) [IMPROVED] Make most StreamConfig/ConsumerConfig fields omitempty (#7390) The `ConsumerConfig` already had most fields as `omitempty`, do the same for `StreamConfig` so that serializing this into JSON will greatly reduce meta snapshot size... push 18 Nov 2025 05:50AM UTC web-flow github
86.12
19418693060 main (2.14) [IMPROVED] Make most StreamConfig/ConsumerConfig fields omitempty (#7390) The `ConsumerConfig` already had most fields as `omitempty`, do the same for `StreamConfig` so that serializing this into JSON will greatly reduce meta snapshot size... push 17 Nov 2025 05:50AM UTC web-flow github
86.16
19400498606 main (2.14) [IMPROVED] Make most StreamConfig/ConsumerConfig fields omitempty (#7390) The `ConsumerConfig` already had most fields as `omitempty`, do the same for `StreamConfig` so that serializing this into JSON will greatly reduce meta snapshot size... push 16 Nov 2025 05:50AM UTC web-flow github
85.21
19384598096 main (2.14) [IMPROVED] Make most StreamConfig/ConsumerConfig fields omitempty (#7390) The `ConsumerConfig` already had most fields as `omitempty`, do the same for `StreamConfig` so that serializing this into JSON will greatly reduce meta snapshot size... push 15 Nov 2025 05:49AM UTC web-flow github
85.16
19354577219 main (2.14) [IMPROVED] Make most StreamConfig/ConsumerConfig fields omitempty (#7390) The `ConsumerConfig` already had most fields as `omitempty`, do the same for `StreamConfig` so that serializing this into JSON will greatly reduce meta snapshot size... push 14 Nov 2025 05:49AM UTC web-flow github
86.09
19320821488 main Add opt-in support for the PROXY protocol (#7456) The use case is to allow for transparent mapping of the source IP to the server for monitoring, auth callout, etc. See https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt Note, this was l... push 13 Nov 2025 05:50AM UTC web-flow github
86.11
19286667536 main Add opt-in support for the PROXY protocol (#7456) The use case is to allow for transparent mapping of the source IP to the server for monitoring, auth callout, etc. See https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt Note, this was l... push 12 Nov 2025 05:49AM UTC web-flow github
86.08
See All Builds (5962)
  • Repo on GitHub
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

© 2025 Coveralls, Inc