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

prisma-risk / tsoracle / 26428206571
95%

Build:
DEFAULT BRANCH: main
Ran 26 May 2026 02:13AM UTC
Jobs 1
Files 86
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

26 May 2026 02:07AM UTC coverage: 95.345% (-0.04%) from 95.381%
26428206571

push

github

web-flow
fix(standalone): require mTLS for non-loopback admin gRPC bind (#462)

The membership-admin gRPC surface introduced in #453 was unauthenticated:
any client reaching --admin-listen could AddLearner / Promote / RemoveNode
and take over openraft membership. This change:

- adds --admin-tls-{cert,key,ca} to `serve openraft` for the server side
  (eager-validated AdminTlsMaterial mirrors peer_tls.rs)
- adds --client-tls-{cert,key,ca} to `tsoracle admin` for operator dial,
  plus a scheme-preserving leader-hint redirect (was hard-coded http://)
- refuses to bind a non-loopback --admin-listen without admin TLS
  (loopback plaintext is still allowed for local dev), with the guard
  hoisted to the top of build_openraft so a misconfigured deployment
  fails fast — before opening RocksDB, constructing Raft, binding the
  peer port, or running initialize()
- rejects pointing --peer-tls-ca and --admin-tls-ca at the same CA file
  (canonicalized path AND byte-content compare); operator remains
  responsible for issuing the two CAs from independent chains, which
  is documented on AdminTlsConfig
- exposes Standalone::admin_listen_addr() so the OS-picked port from
  bind(":0") is observable to callers/tests

112 of 122 new or added lines in 6 files covered. (91.8%)

14 existing lines in 1 file now uncovered.

12289 of 12889 relevant lines covered (95.34%)

461366.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
82.44
0.3% crates/tsoracle-standalone/src/drivers/openraft/mod.rs
2
54.0
1.83% crates/tsoracle-standalone/src/admin/service.rs
2
96.92
crates/tsoracle-standalone/src/admin_tls.rs

Coverage Regressions

Lines Coverage ∆ File
14
82.44
0.3% crates/tsoracle-standalone/src/drivers/openraft/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 26428206571.1 26 May 2026 02:13AM UTC 86
95.34
GitHub Action Run
Source Files on build 26428206571
  • Tree
  • List 86
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26428206571
  • f95f9ec2 on github
  • Prev Build on main (#26427776142)
  • Next Build on main (#26428196263)
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