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

nats-io / nats-server / 10105827586
83%

Build:
DEFAULT BRANCH: main
Ran 26 Jul 2024 05:36AM UTC
Jobs 1
Files 56
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

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

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

Jobs
ID Job ID Ran Files Coverage
1 10105827586.1 26 Jul 2024 05:36AM UTC 0
85.22
GitHub Action Run
Source Files on build 10105827586
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #10105827586
  • 05c747e6 on github
  • Prev Build on main (#10088269064)
  • Next Build on main (#10120932149)
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