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

prisma-risk / tsoracle / 26368354625
95%

Build:
DEFAULT BRANCH: main
Ran 24 May 2026 05:50PM 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:45PM UTC coverage: 94.818% (-0.03%) from 94.851%
26368354625

push

github

web-flow
refactor: lift the leader-hint trailer key and decoder into tsoracle-proto (#91) (#295)

The wire-contract trailer key "tsoracle-leader-hint-bin" was hard-coded in the
server and client (plus three further test literals), and the decode helper was
duplicated across both crates. If the key ever drifted between the two sides,
the client would silently stop following NOT_LEADER hints and degrade to
round-robin.

Move the constant, the LeaderHintLookup classifier, and decode_leader_hint into
tsoracle_proto::v1 as the single source of truth. The client re-exports them so
its existing import paths are unchanged; the server keeps a thin
Option-returning adapter over the proto helper so its test-only decode surface
(and the tests covering it) stay untouched.

The richer three-way LeaderHintLookup (Absent/Decoded/Malformed) is what moves,
not the server's lossy Option<LeaderHint>, so the client keeps the
malformed-vs-absent distinction its retry loop depends on.

The literal "tsoracle-leader-hint-bin" now appears in executable code exactly
once. No behavior change on either the encode or decode path.

50 of 58 new or added lines in 3 files covered. (86.21%)

4 existing lines in 1 file now uncovered.

11052 of 11656 relevant lines covered (94.82%)

500020.32 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
89.19
-10.81% crates/tsoracle-proto/src/lib.rs

Coverage Regressions

Lines Coverage ∆ File
4
73.54
-1.37% crates/tsoracle-paxos-toolkit/src/lifecycle/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 26368354625.1 24 May 2026 05:50PM UTC 74
94.82
GitHub Action Run
Source Files on build 26368354625
  • Tree
  • List 74
  • Changed 6
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26368354625
  • 23f416ac on github
  • Prev Build on main (#26368085744)
  • Next Build on main (#26368527309)
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