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

prisma-risk / tsoracle / 26340894812
96%

Build:
DEFAULT BRANCH: main
Ran 23 May 2026 07:01PM 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 06:57PM UTC coverage: 94.796% (-0.03%) from 94.822%
26340894812

push

github

web-flow
fix(paxos-toolkit): decouple PaxosRunner tick loop from outbound send completion (#218)

A never-resolving `MessageSink::send` wedged the entire tick task. The
serial `for message in outgoing { sink.send(message).await }` ran inside
the `tokio::select!` tick arm, and `select!` does not re-poll its branches
while an arm body is suspended mid-await. One hung send therefore starved
later sends in the batch, leadership observation, leader-event emission,
`apply_notify`, the next tick, and the shutdown branch — so `stop()` blocked
forever awaiting the wedged `JoinHandle`. A blackholed peer reached over a
transport with no per-request timeout (as in the example `PeerSink`)
reproduces this.

Move outbound delivery to a dedicated sender task that owns the sink and
drains a bounded channel. The tick loop hands messages off with a
non-blocking `try_send` and never awaits delivery, so its cadence — and
every lifecycle action downstream of it — is independent of per-send
latency. A full queue drops the message, which is safe because OmniPaxos
regenerates outbound messages every tick. `stop()` and `Drop` abort the
sender task as the backstop for a send that never resolves.

Closes #215

56 of 65 new or added lines in 1 file covered. (86.15%)

10074 of 10627 relevant lines covered (94.8%)

543814.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
73.54
3.5% crates/tsoracle-paxos-toolkit/src/lifecycle/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 26340894812.1 23 May 2026 07:01PM UTC 74
94.8
GitHub Action Run
Source Files on build 26340894812
  • 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 #26340894812
  • 868e0475 on github
  • Prev Build on main (#26340354238)
  • Next Build on main (#26341753400)
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