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

prisma-risk / tsoracle / 26368527309
95%

Build:
DEFAULT BRANCH: main
Ran 24 May 2026 05:57PM 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

24 May 2026 05:53PM UTC coverage: 94.818%. Remained the same
26368527309

push

github

web-flow
fix(openraft-standalone): bound snapshot reassembly and cap peer transport (#132) (#299)

The example's raft peer transport bound a bare tonic server with no per-message
decode cap, and the snapshot handler appended every Data chunk into an unbounded
Vec, so any client that could reach --raft-addr could stream chunks until the
receiver allocated itself to death.

- Bound snapshot reassembly at MAX_SNAPSHOT_BYTES (64 MiB), refusing larger
  streams with ResourceExhausted before the buffer ever crosses the limit, and
  cap a single install stream at SNAPSHOT_STREAM_TIMEOUT (60 s). The reassembly
  loop is extracted into a generic, unit-tested reassemble_snapshot helper.
- Cap the peer server: max_decoding/encoding_message_size at
  MAX_PEER_MESSAGE_BYTES, derived from SNAPSHOT_CHUNK_SIZE so it can never fall
  below one legal chunk, plus max_concurrent_streams and max_frame_size.
- Document the trust assumption: the peer transport is unauthenticated by
  design; the raft_addr doc comment and README spell out the loopback / mTLS /
  authorizing-proxy options.

Example-only; no published crate opens a socket.

11052 of 11656 relevant lines covered (94.82%)

493367.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26368527309.1 24 May 2026 05:57PM UTC 74
94.82
GitHub Action Run
Source Files on build 26368527309
  • Tree
  • List 74
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26368527309
  • 9f49030e on github
  • Prev Build on main (#26368354625)
  • Next Build on main (#26368639128)
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