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

prisma-risk / tsoracle / 26462202659
95%

Build:
DEFAULT BRANCH: main
Ran 26 May 2026 04:53PM UTC
Jobs 1
Files 88
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

26 May 2026 04:47PM UTC coverage: 95.148% (-0.3%) from 95.444%
26462202659

push

github

web-flow
feat: GetCurrentMaxSafe RPC (#493)

* feat(proto): add GetCurrentMaxSafe RPC

External coordinators that fence reads on a durable safe-point can now query
the leader directly instead of reaching into the consensus state machine.

The handler in tsoracle-server is wired with a default-response stub so the
new trait method compiles across every TsoService impl in the workspace;
subsequent commits expose the underlying allocator + serving-core state and
swap the stub for the real read.

* feat(core): expose committed_high_water accessor on Allocator

* feat(server): serve GetCurrentMaxSafe from ServingCore

ServingCore now owns window_ahead and a current_max_safe_physical_ms()
accessor that derives the safe-point from the allocator's committed
high-water; the handler reads it together with the current leader epoch
(zero when not leader, matching the proto's cold-start sentinel).

* feat(client): add get_current_max_safe

Single-shot RPC targeting the cached leader (falling back to the first
configured endpoint when no leader is known yet). Returns a typed
MaxSafe carrying the physical-ms safe-point and the leader epoch. The
proto contract makes follower responses non-erroring (they return 0),
so a simple one-pass dial is enough for the first cut; pollers needing
freshness target the leader.

* test(server): integration test for GetCurrentMaxSafe roundtrip

* chore(server): register get_current_max_safe test binary with required-features

47 of 92 new or added lines in 7 files covered. (51.09%)

13296 of 13974 relevant lines covered (95.15%)

465584.33 hits per line

Uncovered Changes

Lines Coverage ∆ File
20
90.26
-2.17% crates/tsoracle-client/src/retry.rs
17
91.19
-8.81% crates/tsoracle-client/src/lib.rs
8
91.32
-2.84% crates/tsoracle-client/src/attempt.rs
Jobs
ID Job ID Ran Files Coverage
1 26462202659.1 26 May 2026 04:53PM UTC 88
95.15
GitHub Action Run
Source Files on build 26462202659
  • Tree
  • List 88
  • Changed 7
  • Source Changed 7
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26462202659
  • fe1ad04d on github
  • Prev Build on main (#26461681074)
  • Next Build on main (#26462998348)
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