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

nats-io / nats.js / 43440724513
91%

Build:
DEFAULT BRANCH: main
Ran 13 Nov 2026 02:13PM UTC
Jobs 8
Files 63
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

13 Nov 2026 02:13PM UTC coverage: 91.441% (+0.04%) from 91.406%
43440724513

push

github

web-flow
fix(jetstream): ordered consumer could pull the old consumer during a reset (#496)

* fix(jetstream): ordered consumer ignores messages from a consumer it replaced

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

* fix(jetstream): an ordered consumer reset clears pending pulls and the reset flag

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

* fix(jetstream): pull builds subject and inbox from the scheduling generation

pull now builds its subject and reply inbox on the generation at the time
the pull is scheduled, so a pull can't reach a consumer that a reset
replaced. stale queued pulls are skipped by serial. the per-message
consumer name filter is no longer needed.

* fix(jetstream): reject a concurrent ordered fetch while a reset is in flight

the concurrency check only looked at this.messages, which is assigned after
fetch awaits the consumer's recreation, so a second fetch or next could start
a second reset. a fetching flag now covers the reset, and the second call
rejects as documented.

* fix(jetstream): ordered consume recovers from a heartbeat sequence mismatch

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

---------

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

5239 of 5997 branches covered (87.36%)

Branch coverage included in aggregate %.

43 of 51 new or added lines in 1 file covered. (84.31%)

2 existing lines in 1 file now uncovered.

12486 of 13387 relevant lines covered (93.27%)

172749.27 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
88.24
1.11% jetstream/src/consumer.ts

Coverage Regressions

Lines Coverage ∆ File
2
89.23
-0.47% transport-node/lib/node_transport.js
Subprojects
ID Flag name Job ID Ran Files Coverage
1 unsafe 43440724513.1 13 Nov 2026 02:13PM UTC 33
44.81
GitHub Action Run
2 transport-node 43440724513.2 13 Nov 2026 02:14PM UTC 3
89.96
GitHub Action Run
3 services 43440724513.3 13 Nov 2026 02:14PM UTC 38
61.97
GitHub Action Run
4 core 43440724513.4 13 Nov 2026 02:15PM UTC 33
94.63
GitHub Action Run
5 kv 43440724513.5 13 Nov 2026 02:14PM UTC 52
55.86
GitHub Action Run
6 transport-deno 43440724513.6 13 Nov 2026 02:13PM UTC 33
9.74
GitHub Action Run
7 jetstream 43440724513.7 13 Nov 2026 02:15PM UTC 48
78.83
GitHub Action Run
8 obj 43440724513.8 13 Nov 2026 02:14PM UTC 50
54.35
GitHub Action Run
Source Files on build 43440724513
  • Tree
  • List 63
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43440724513
  • 08194dd7 on github
  • Prev Build on main (#43063361269)
  • Next Build on main (#43469882382)
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