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

prisma-risk / tsoracle / 26343773979
95%

Build:
DEFAULT BRANCH: main
Ran 23 May 2026 09:21PM UTC
Jobs 1
Files 74
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

23 May 2026 09:16PM UTC coverage: 94.685% (-0.1%) from 94.822%
26343773979

push

github

web-flow
feat(test-fakes): implement transfer_leader RPC on MemNetwork (#226)

MemNetwork implements append_entries / vote / full_snapshot but left
RaftNetworkV2::transfer_leader at its default, which returns "transfer_leader
not implemented". So Raft::trigger().transfer_leader() silently failed over the
in-memory network: the TransferLeaderRequest broadcast was dropped, and
leadership only moved when an automatic election timer happened to re-elect the
requested target. Multi-node harnesses asserting a *deterministic* handoff to a
specific node were flaky for exactly this reason.

Route the RPC to the target's public Raft::handle_transfer_leader, gated by the
same PartitionController reachability check as the other RPCs. Add a smoke test
that transfers leadership to a chosen non-leader node and asserts it takes over.

12 of 25 new or added lines in 1 file covered. (48.0%)

3 existing lines in 1 file now uncovered.

10136 of 10705 relevant lines covered (94.68%)

519777.47 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
81.62
-7.57% crates/tsoracle-openraft-toolkit/src/test_fakes/mem_network.rs

Coverage Regressions

Lines Coverage ∆ File
3
84.37
-0.81% benchmarks/stress/src/topology/paxos.rs
Jobs
ID Job ID Ran Files Coverage
1 26343773979.1 23 May 2026 09:21PM UTC 74
94.68
GitHub Action Run
Source Files on build 26343773979
  • Tree
  • List 74
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26343773979
  • a2c6ca77 on github
  • Prev Build on main (#26343550524)
  • Next Build on main (#26343934198)
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