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

nats-io / nats.js / 28120537489
90%

Build:
DEFAULT BRANCH: main
Ran 24 Jun 2026 06:26PM 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

24 Jun 2026 06:26PM UTC coverage: 89.573% (-0.03%) from 89.606%
28120537489

push

github

web-flow
feat(jetstream): add consumers.addOrUpdate (#412)

* feat(jetstream): add consumers.createOrUpdate

Mirrors CreateOrUpdateConsumer in the Go client.

Also switches addUpdate's action default from || to ?? so the empty-string
CreateOrUpdate action isn't silently coerced back to "create".

Signed-off-by: Styler <styler@streamelements.com>

* test(jetstream): cover createOrUpdate create path

Signed-off-by: Styler <styler@streamelements.com>

* rename createOrUpdate to addOrUpdate

Signed-off-by: Styler <styler@streamelements.com>

---------

Signed-off-by: Styler <styler@streamelements.com>

4460 of 5055 branches covered (88.23%)

Branch coverage included in aggregate %.

11 of 11 new or added lines in 1 file covered. (100.0%)

5 existing lines in 2 files now uncovered.

11158 of 12381 relevant lines covered (90.12%)

152081.83 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
82.27
-0.53% jetstream/src/pushconsumer.ts
2
84.04
-0.64% transport-node/lib/node_transport.js
Subprojects
ID Flag name Job ID Ran Files Coverage
1 transport-deno 28120537489.1 24 Jun 2026 06:26PM UTC 33
10.09
GitHub Action Run
2 jetstream 28120537489.2 24 Jun 2026 06:28PM UTC 48
74.56
GitHub Action Run
3 transport-node 28120537489.3 24 Jun 2026 06:27PM UTC 3
85.17
GitHub Action Run
4 obj 28120537489.4 24 Jun 2026 06:26PM UTC 50
49.89
GitHub Action Run
5 unsafe 28120537489.5 24 Jun 2026 06:26PM UTC 33
42.93
GitHub Action Run
6 kv 28120537489.6 24 Jun 2026 06:27PM UTC 52
50.89
GitHub Action Run
7 core 28120537489.7 24 Jun 2026 06:27PM UTC 33
92.5
GitHub Action Run
8 services 28120537489.8 24 Jun 2026 06:26PM UTC 38
57.84
GitHub Action Run
Source Files on build 28120537489
  • Tree
  • List 63
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28120537489
  • 3a7b736b on github
  • Prev Build on main (#26961520277)
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