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

nats-io / nats-server / 22814379228 / 1
78%
main: 78%

Build:
DEFAULT BRANCH: main
Ran 08 Mar 2026 06:08AM UTC
Files 62
Run time 5s
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

06 Mar 2026 03:18PM UTC coverage: 83.142% (+0.1%) from 83.041%
22814379228.1

push

github

web-flow
[IMPROVED] Always compact, even for non-changed state (#7913)

These conditions were effectively noops. We need to snapshot/compact
when we reach minimum compaction limits, and this compaction needs to
happen regardless of if stream/consumer state changed or not. Actually
in the case of consumers, `EncodedState` isn't guaranteed to equal
byte-by-byte either, since `Pending` and `Redelivered` are maps and are
iterated randomly by Go (credit to @wallyqs for this one).

This PR is purely a code improvement and doesn't have any functional
differences.

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>

75228 of 90481 relevant lines covered (83.14%)

364461.69 hits per line

Source Files on job 22814379228.1
  • Tree
  • List 62
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22814379228
  • 51fbade1 on github
  • Prev Job for on main (#22792489433.1)
  • Next Job for on main (#22839313707.1)
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