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

prisma-risk / tsoracle / 26373774737
95%

Build:
DEFAULT BRANCH: main
Ran 24 May 2026 09:58PM UTC
Jobs 1
Files 75
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

24 May 2026 09:53PM UTC coverage: 94.91% (-0.02%) from 94.926%
26373774737

push

github

web-flow
docs(consensus): make leadership_events first-item contract normative (#254) (#321)

The contract that `leadership_events` must synchronously emit the current
`LeaderState` as its first item lived only in the integration-guide prose;
the trait signature returned a bare `Stream<Item = LeaderState>`. A driver
that emits the initial state lazily stalls the server's leader-watch task,
which blocks on the first item to seed its state — a node already leading at
subscription time would never seed Serving.

Lift the requirement onto the `ConsensusDriver::leadership_events` rustdoc as
the normative source, and reword the prose guide to point at it. The `Dummy`
test impl used `stream::empty()`, modelling the violation; it now emits one
`Unknown` event so it honours the contract. The dispatch test, which asserted
an empty stream, now asserts the first item is `Unknown` with no transitions
after.

4 of 5 new or added lines in 1 file covered. (80.0%)

1 existing line in 1 file now uncovered.

11300 of 11906 relevant lines covered (94.91%)

464908.32 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.65
-1.32% crates/tsoracle-consensus/src/lib.rs

Coverage Regressions

Lines Coverage ∆ File
1
96.49
-0.19% crates/tsoracle-client/src/driver.rs
Jobs
ID Job ID Ran Files Coverage
1 26373774737.1 24 May 2026 09:58PM UTC 75
94.91
GitHub Action Run
Source Files on build 26373774737
  • Tree
  • List 75
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26373774737
  • 8389ecc3 on github
  • Prev Build on main (#26373768393)
  • Next Build on main (#26373779888)
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