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

prisma-risk / tsoracle / 26467450040
95%

Build:
DEFAULT BRANCH: main
Ran 26 May 2026 06:38PM UTC
Jobs 1
Files 88
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 06:31PM UTC coverage: 95.243% (+0.1%) from 95.148%
26467450040

push

github

web-flow
test(e2e): wire mixed-version-soak Job + add tsoracle admin activate-format (#503)

* feat(admin): ActivateFormat RPC + CLI surface

Adds ActivateFormat to the MembershipAdmin proto service + Rust
trait + openraft impl (delegating to StandaloneHost::initiate_format_activation),
with gRPC handler error mapping to dedicated AdminErrorKind variants
(MEMBERS_BELOW_TARGET, TARGET_OUT_OF_RANGE, MEMBERSHIP_CHANGED).
First production caller of PeerCapabilitySource (was dead_code in
network.rs). UnsupportedAdmin (paxos/file) returns Unsupported.

* test(admin): unit tests for map_activation_error + clarify doc comment

Mirrors the existing map_write_error test pattern. Six tests, one per
FormatActivationError variant, asserting the AdminError mapping.
Also clarifies the doc comment to remove the false implication that
the CLI's redirect path is bypassed for activation — only the
leader-endpoint hint is absent (NotLeader is a unit variant).

* test(admin): handler-layer mapping for ActivateFormat

Six tests covering every AdminError -> AdminErrorKind transition the
spec defines, plus the u8-overflow Status::invalid_argument case.
test-support feature gates a pub admin_service() constructor so
production builds don't compile the test seam.

* test(admin): fix misleading comment on u8-overflow test sentinel

Comment incorrectly claimed the test would 'fail later by reading the
wrong kind back' if the handler called through. It actually fails
immediately at expect_err() because the handler returns Ok(Response).
Clarify that the Unsupported in the slot is just a safe fallback for
the take() guard.

* feat(cli): tsoracle admin activate-format

AdminCmd::ActivateFormat variant + dispatch with four-way exit
contract: 0 success, 2 MEMBERS_BELOW_TARGET, 3 NOT_LEADER,
4 TARGET_OUT_OF_RANGE, 1 other. Lets the kube-e2e shell do
ordinal-walk leader discovery and accept either rejection shape
(2 or 4) for the partial-rollout safety assertion without parsing
stderr.

* docs(c... (continued)

108 of 116 new or added lines in 4 files covered. (93.1%)

1 existing line in 1 file now uncovered.

13414 of 14084 relevant lines covered (95.24%)

384835.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
93.71
-3.34% crates/tsoracle-standalone/src/admin/openraft.rs

Coverage Regressions

Lines Coverage ∆ File
1
74.79
20.79% crates/tsoracle-standalone/src/admin/service.rs
Jobs
ID Job ID Ran Files Coverage
1 26467450040.1 26 May 2026 06:38PM UTC 88
95.24
GitHub Action Run
Source Files on build 26467450040
  • Tree
  • List 88
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26467450040
  • f4b3abf9 on github
  • Prev Build on main (#26467434073)
  • Next Build on main (#26468155964)
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