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

nats-io / nats-server / 10105827586 / 1
82%
main: 82%

Build:
DEFAULT BRANCH: main
Ran 26 Jul 2024 05:36AM UTC
Files 56
Run time 2s
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

25 Jul 2024 03:26PM UTC coverage: 85.22% (+0.1%) from 85.106%
10105827586.1

push

github

web-flow
Fix `WorkQueuePolicy` retention issue (#5697)

The `isInterestRetention` function, which gates whether or not we run
`checkInterestState`, was matching for both `InterestPolicy` and
`WorkQueuePolicy`.

This meant that a work queue stream could throw away messages for which
there was no consumer interest as the consumer ack floors for other
subjects moved up.

This PR changes `isInterestRetention` to match only `InterestPolicy`
which fixes the issue. Notably this doesn't change the `ackMsg`
behaviour which will continue to remove messages once they have been
acked.

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

66124 of 77592 relevant lines covered (85.22%)

1220919.26 hits per line

Source Files on job 10105827586.1
  • Tree
  • List 0
  • Changed 43
  • Source Changed 2
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10105827586
  • 05c747e6 on github
  • Prev Job for on main (#10088269064.1)
  • Next Job for on main (#10120932149.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