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

prisma-risk / tsoracle / 26373774737 / 1
95%
main: 95%

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

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.

11300 of 11906 relevant lines covered (94.91%)

464908.32 hits per line

Source Files on job 26373774737.1
  • Tree
  • List 75
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26373774737
  • 8389ecc3 on github
  • Prev Job for on main (#26373768393.1)
  • Next Job for on main (#26373779888.1)
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