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

nats-io / nats-server / 19125103750
83%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2025 05:51AM UTC
Jobs 1
Files 60
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

05 Nov 2025 02:14PM UTC coverage: 85.082% (-1.0%) from 86.085%
19125103750

push

github

web-flow
[IMPROVED] Implicit RePublish based on SubjectTransform (#7515)

If the stream configuration contains stream subject `a.>`, subject
transform `a.>` to `b.>` and republish `>` to `>`, this currently errors
containing a cycle. However, the intention behind this is that the
transformed `b.>` subject is RePublished. This PR now allows this, but
only if this link is preserved. Specifically only allowing if the stream
has a single subject and the transform maps only that subject. This is a
non-breaking change since this used to be an error before, and mostly
allows to not need to repeat the transformed subject of `b.>` two more
times in the source/destination of the RePublish.

Put simply, the `RePublish` of `>` to `>` gets transformed to a source
of `b.>` and destination of `b.>` given the prerequisites.

Resolves https://github.com/nats-io/nats-server/issues/7511

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

74059 of 87044 relevant lines covered (85.08%)

334642.66 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
840
82.56
0.19% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
524
86.14
-0.23% src/github.com/nats-io/nats-server/server/stream.go
270
71.06
-25.05% src/github.com/nats-io/nats-server/server/websocket.go
151
57.11
-31.59% src/github.com/nats-io/nats-server/server/subject_transform.go
114
87.97
-9.08% src/github.com/nats-io/nats-server/server/sublist.go
107
64.45
-20.9% src/github.com/nats-io/nats-server/server/dirstore.go
107
86.78
0.16% src/github.com/nats-io/nats-server/server/raft.go
81
79.94
-1.64% src/github.com/nats-io/nats-server/server/opts.go
73
83.56
-0.73% src/github.com/nats-io/nats-server/server/filestore.go
28
93.56
-0.75% src/github.com/nats-io/nats-server/server/server.go
19
94.84
-0.41% src/github.com/nats-io/nats-server/server/client.go
19
85.71
-8.76% src/github.com/nats-io/nats-server/server/util.go
12
88.61
-0.97% src/github.com/nats-io/nats-server/server/auth.go
12
90.23
-0.67% src/github.com/nats-io/nats-server/server/reload.go
7
88.53
-0.11% src/github.com/nats-io/nats-server/server/consumer.go
6
90.35
-0.12% src/github.com/nats-io/nats-server/server/leafnode.go
5
72.83
-0.03% src/github.com/nats-io/nats-server/server/jetstream_api.go
5
86.13
-0.26% src/github.com/nats-io/nats-server/server/memstore.go
4
91.15
-0.38% src/github.com/nats-io/nats-server/server/parser.go
3
81.01
-3.8% src/github.com/nats-io/nats-server/server/errors.go
2
94.49
0.16% src/github.com/nats-io/nats-server/server/gateway.go
2
87.2
-0.07% src/github.com/nats-io/nats-server/server/monitor.go
Jobs
ID Job ID Ran Files Coverage
1 19125103750.1 06 Nov 2025 05:51AM UTC 60
85.08
GitHub Action Run
Source Files on build 19125103750
  • Tree
  • List 60
  • Changed 26
  • Source Changed 3
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19125103750
  • 60a276b8 on github
  • Prev Build on main (#19091544926)
  • Next Build on main (#19158460739)
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