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

prisma-risk / tsoracle / 26380778519
95%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 03:00AM UTC
Jobs 1
Files 82
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 02:55AM UTC coverage: 94.852% (+0.02%) from 94.837%
26380778519

push

github

web-flow
refactor(paxos-toolkit): require Send + Sync on box_err input (#387)

`box_err` is the single helper that boxes storage-side errors into
OmniPaxos's `StorageResult` (`Box<dyn Error>`). It previously bounded its
input only on `Error + 'static`, so the project-wide convention that errors
are `Box<dyn Error + Send + Sync>` was not enforced at the source.

OmniPaxos hard-codes the `StorageResult` error type at `Box<dyn Error>`
(no `Send + Sync`), and every call site funnels into it via `?`. Because
`?` desugars to `From::from`, and std provides no
`From<Box<dyn Error + Send + Sync>> for Box<dyn Error>` (the wide-to-narrow
conversion is an unsize coercion that only fires at coercion sites, never
through `?`), widening the *return* type to `Box<dyn Error + Send + Sync>`
fails to compile across the call sites and would in any case be erased back
to the bare box at the trait boundary.

Bounding the *input* `E: Error + Send + Sync + 'static` is the meaningful,
compilable change: it statically guarantees every error we box is
thread-movable at the source — a future non-`Send` `StorageError` variant
would fail to compile here — while leaving the OmniPaxos-mandated return
type untouched. A doc comment records the constraint.

1 of 1 new or added line in 1 file covered. (100.0%)

12584 of 13267 relevant lines covered (94.85%)

431229.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26380778519.1 25 May 2026 03:00AM UTC 82
94.85
GitHub Action Run
Source Files on build 26380778519
  • Tree
  • List 82
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26380778519
  • f033522e on github
  • Prev Build on main (#26380772761)
  • Next Build on main (#26380784651)
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