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

nats-io / nats.js / 25498909796
90%

Build:
DEFAULT BRANCH: main
Ran 07 May 2026 01:30PM 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

07 May 2026 01:30PM UTC coverage: 89.597%. First build
25498909796

push

github

web-flow
feat(core): setServers/getServers (#400)

* feat(core): setServers/getServers

This PR adds the ability to set and replace the server list. This enables setting a server list, and issuing a reconnect() to migrate to new servers discovered or injected by an external mechanism. Setting the server list to empty will throw an exception.

In addition there are some internal changes to support `reconnectToServer`, this is an
advanced feature that enables a client at the time of a reconnect to select the server
to connect to (and if to delay the dial to that server) from the list of provided servers. This feature is fully implemented but stealthy. Must specify the `reconnectToServer` option

Also updated the cluster to use a TUI and added the chaos_client tool (these are internal tools that are very useful for exercising flapping clusters and reconnect)

4469 of 5063 branches covered (88.27%)

Branch coverage included in aggregate %.

132 of 144 new or added lines in 3 files covered. (91.67%)

11163 of 12384 relevant lines covered (90.14%)

152041.38 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
94.04
core/src/servers.ts
4
90.41
core/src/protocol.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
1 jetstream 25498909796.1 07 May 2026 01:32PM UTC 48
74.45
GitHub Action Run
2 core 25498909796.2 07 May 2026 01:32PM UTC 33
92.58
GitHub Action Run
3 services 25498909796.3 07 May 2026 01:30PM UTC 38
57.73
GitHub Action Run
4 transport-node 25498909796.4 07 May 2026 01:31PM UTC 3
85.71
GitHub Action Run
5 transport-deno 25498909796.5 07 May 2026 01:30PM UTC 33
10.06
GitHub Action Run
6 unsafe 25498909796.6 07 May 2026 01:30PM UTC 33
42.84
GitHub Action Run
7 kv 25498909796.7 07 May 2026 01:31PM UTC 52
50.83
GitHub Action Run
8 obj 25498909796.8 07 May 2026 01:30PM UTC 50
49.88
GitHub Action Run
Source Files on build 25498909796
  • Tree
  • List 63
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25498909796
  • 2c2ad5de on github
  • Prev Build on main (#25451436023)
  • Next Build on main (#25517681159)
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