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

prisma-risk / tsoracle / 26415728628
95%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 07:15PM UTC
Jobs 1
Files 66
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

25 May 2026 07:05PM UTC coverage: 96.384% (-0.004%) from 96.388%
26415728628

push

github

web-flow
perf(server): add non-cloning is_serving() for the hot-path gate (#436)

The fast NOT_LEADER gate in get_ts called ServingCore::serving_state(),
which clones a whole ServingState out of the watch channel only to match
on it and discard it. Add a borrow-and-match is_serving() and use it for
the gate so the serving path no longer materializes a value it throws away.

The rejected path keeps cloning through serving_state() (via the existing
leader_hint_from helper): LeaderHint needs an owned leader-endpoint String
for the response, so that clone is unavoidable there. The two reads on the
rejection path are not atomic, but the redirect hint is best-effort either
way and this matches the NotLeader arm that already re-reads after try_grant.

15 of 16 new or added lines in 1 file covered. (93.75%)

10583 of 10980 relevant lines covered (96.38%)

441392.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
96.55
-0.28% crates/tsoracle-server/src/serving_core.rs
Jobs
ID Job ID Ran Files Coverage
1 26415728628.1 25 May 2026 07:15PM UTC 66
96.38
GitHub Action Run
Source Files on build 26415728628
  • Tree
  • List 66
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26415728628
  • 673a7aed on github
  • Prev Build on main (#26415651253)
  • Next Build on main (#26416149253)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc