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

nats-io / nats-server / 10174191493
86%

Build:
DEFAULT BRANCH: main
Ran 31 Jul 2024 05:35AM CUT
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

30 Jul 2024 05:10PM CUT coverage: 85.068% (+0.03%) from 85.043%
10174191493

push

github

web-flow
[auth-callout] Support opt-in list of accounts to be delegated in config-mode (#5724)

This introduces a new `auth_callout` field `allowed_accounts` which
enables explicitly listing which accounts in the server config should be
delegated to the auth callout service.

This improves the current behavior which is an all-or-nothing switch
over from config auth to auth callout.

The primary motivation for this change is to enable the system account
to authenticate against the server rather than being dependent on the
availability of the auth callout service.

(For reference the name `allowed_accounts` [matches what exists in
nsc](https://github.com/nats-io/nsc/blob/main/cmd/editauthorization.go#L33))

66059 of 77654 relevant lines covered (85.07%)

1442759.33 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
84.54
0.25% src/github.com/nats-io/nats-server/server/stream.go
2
72.46
-0.45% src/github.com/nats-io/nats-server/server/avl/seqset.go
2
84.29
-0.08% src/github.com/nats-io/nats-server/server/monitor.go
3
90.19
0.09% src/github.com/nats-io/nats-server/server/leafnode.go
3
86.16
0.0% src/github.com/nats-io/nats-server/server/accounts.go
4
50.84
0.25% src/github.com/nats-io/nats-server/server/jetstream_errors_generated.go
4
83.74
0.0% src/github.com/nats-io/nats-server/server/filestore.go
8
86.94
0.4% src/github.com/nats-io/nats-server/server/consumer.go
8
70.4
0.22% src/github.com/nats-io/nats-server/server/jetstream_api.go
9
94.19
-0.21% src/github.com/nats-io/nats-server/server/client.go
12
81.59
-0.55% src/github.com/nats-io/nats-server/server/jetstream.go
17
83.38
-0.27% src/github.com/nats-io/nats-server/server/raft.go
23
79.35
-0.07% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
83
89.24
-0.23% src/github.com/nats-io/nats-server/server/auth.go
630
81.26
-0.01% src/github.com/nats-io/nats-server/server/opts.go
Jobs
ID Job ID Ran Files Coverage
1 10174191493.1 31 Jul 2024 05:35AM CUT 56
85.07
GitHub Action Run
Source Files on build 10174191493
  • Tree
  • List 56
  • Changed 44
  • Source Changed 2
  • Coverage Changed 18
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
50.22
src/github.com/nats-io/nats-server/server/proto.go268 227 114 113 10.0
50.84
...o/nats-server/server/jetstream_errors_generated.go2461 1188 604 + 3584 - 33279.0 + 377
58.76
...github.com/nats-io/nats-server/internal/ldap/dn.go305 194 114 80 117.0
62.5
src/github.com/nats-io/nats-server/server/const.go53 8 5 3 2.0
66.67
...com/nats-io/nats-server/server/jetstream_events.go36 15 10 5 31496.0 - 1174
68.45
...github.com/nats-io/nats-server/server/ocsp_peer.go404 317 217 100 50.0
69.62
src/github.com/nats-io/nats-server/logger/log.go401 260 181 79 12.0
70.4
...ub.com/nats-io/nats-server/server/jetstream_api.go4659 3203 2255 + 7948 - 73724.0 + 36
71.88
...rc/github.com/nats-io/nats-server/logger/syslog.go132 64 46 18 29.0
72.46
...ithub.com/nats-io/nats-server/server/avl/seqset.go676 443 321 - 2122 + 21082595.0 + 6075
Showing 1 to 10 of 56 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next
  • ►
    85.07
    src/
  • Back to Repo
  • Github Actions Build #10174191493
  • 548544bf on github
  • Prev Build on main (#10156257606)
  • Next Build on main (#10192144768)
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

© 2025 Coveralls, Inc