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

prisma-risk / tsoracle / 26351079365
95%

Build:
DEFAULT BRANCH: main
Ran 24 May 2026 03:49AM 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 03:44AM UTC coverage: 94.735% (-0.04%) from 94.772%
26351079365

push

github

web-flow
fix(server): surface reflection descriptor decode failure as a recoverable error (#9) (#283)

Server startup registered the gRPC reflection descriptor with
`.expect("FILE_DESCRIPTOR_SET emitted by build.rs is always valid")`,
turning the (highly unlikely) build-artifact drift case into a process
panic. Replace it with explicit error mapping propagated from the
server-construction path.

`into_router` now returns `Result<(Routes, JoinHandle), ServerError>`,
building the reflection service via a new `build_reflection_service`
helper before the leader-watch task is spawned so a decode failure
returns `ServerError::ReflectionInit` without leaking a running task.
The new variant is gated on the `reflection` feature. All in-repo
callers (the two `serve_*` methods, embedded-router/failpoints tests,
and the failover-demo example) and the docs that describe the return
shape are updated accordingly.

Adds focused unit tests covering both the embedded descriptor (Ok) and
a corrupt descriptor (typed error) paths.

BREAKING CHANGE: `Server::into_router` now returns
`Result<(Routes, JoinHandle<Result<(), ServerError>>), ServerError>`
instead of the tuple directly; embedders must handle or propagate the
error.

28 of 29 new or added lines in 1 file covered. (96.55%)

4 existing lines in 1 file now uncovered.

10635 of 11226 relevant lines covered (94.74%)

536953.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
96.3
-0.15% crates/tsoracle-server/src/server.rs

Coverage Regressions

Lines Coverage ∆ File
4
97.39
-1.04% crates/tsoracle-driver-paxos/src/state_machine.rs
Jobs
ID Job ID Ran Files Coverage
1 26351079365.1 24 May 2026 03:49AM UTC 74
94.74
GitHub Action Run
Source Files on build 26351079365
  • 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 #26351079365
  • 88f04595 on github
  • Prev Build on main (#26350927533)
  • Next Build on main (#26351083097)
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