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

prisma-risk / tsoracle / 26489267801
95%

Build:
DEFAULT BRANCH: main
Ran 27 May 2026 03:44AM UTC
Jobs 1
Files 90
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

27 May 2026 03:38AM UTC coverage: 94.926%. Remained the same
26489267801

push

github

web-flow
refactor!: relocate Clock to tsoracle-server (#559)

* refactor!: relocate Clock to tsoracle-server

tsoracle-core::Allocator accepts now_ms: u64 parameters and never
references the Clock trait. The trait + impls existed only for
tsoracle-server's Arc<dyn Clock> builder storage — the
Send + Sync + 'static bound on the trait is required by that
trait-object storage, not by the core algorithm. Workspace-wide, the
only consumers of Clock / SystemClock / MockClock are tsoracle-server
(production + integration tests) and tsoracle-tests (DST suite); the
only reference in tsoracle-consensus was an unrelated doc-comment
match.

- Move Clock + SystemClock + saturating_millis + their unit tests from
  tsoracle-core/src/clock.rs to tsoracle-server/src/clock.rs. Updated
  module doc explains the Send + Sync + 'static bound's true home
  (Arc<dyn Clock> shared across handler tasks).
- Move MockClock + its unit tests to tsoracle-server/src/test_fakes/
  mock_clock.rs, alongside the existing InMemoryDriver / StallableDriver
  / FaultyDriver fakes. MockClock now gates on tsoracle-server's
  existing test-fakes feature instead of inventing a parallel
  test-clock feature.
- Drop the test-clock Cargo feature from tsoracle-core; drop
  features = ["test-clock"] from tsoracle-server's dev-dep on
  tsoracle-core.
- Retarget tsoracle-tests's dst feature: tsoracle-core/test-clock →
  tsoracle-server/test-fakes.
- Rewrite "The Clock contract: advisory only" section in
  tsoracle-core/src/docs/algorithm.md to describe the now_ms: u64
  advisory parameter rather than the (now-relocated) Clock trait. Drop
  the Clock / SystemClock / clock::testing API bullet and the
  test-clock feature row from tsoracle-core's README.

No behavior change. Verification on the full workspace:

- cargo build --workspace --all-features: clean
- cargo test --workspace: all suites pass, 0 failed
- cargo test -p tsoracle-tests --features dst: all turmoil DST suites
  pass, 0 failed
- cargo test -p ts... (continued)

29 of 29 new or added lines in 2 files covered. (100.0%)

13694 of 14426 relevant lines covered (94.93%)

408122.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26489267801.1 27 May 2026 03:44AM UTC 90
94.93
GitHub Action Run
Source Files on build 26489267801
  • Tree
  • List 90
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26489267801
  • 43c639cc on github
  • Prev Build on main (#26488457806)
  • Next Build on main (#26490101271)
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