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

freeeve / roaringrange / 26677225846
86%

Build:
DEFAULT BRANCH: main
Ran 30 May 2026 06:45AM UTC
Jobs 1
Files 5
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

30 May 2026 06:44AM UTC coverage: 81.948% (-0.6%) from 82.567%
26677225846

push

github

freeeve
fix(reader): harden the reader against malformed/short-read input (never panic)

Honor the crate's "return an error, never panic" contract on adversarial or
truncated input reaching the browser-facing path:

- facet.rs: bounds- and overflow-check FacetIndex::open — checked size
  arithmetic (usize overflow on wasm32), validate name/category ranges before
  slicing, derive posting-region bounds with checked math
- wasm.rs: WasmFetch::read enforces the exact-length RangeFetch contract
  (rejects an origin that ignores Range) and guards offset+len overflow
- records.rs: RecordStore::get errors on a corrupt end<start offset pair
  instead of silently returning a zero-length record
- index.rs: replace the search() debug_assert (debug-build panic on a
  malformed tail) with a filter; saturating_add for untrusted tail offsets;
  add IndexError::Malformed
- tests: malformed-RRSF header and corrupt record-offset-pair cases

345 of 421 relevant lines covered (81.95%)

8.31 hits per line

Coverage Regressions

Lines Coverage ∆ File
17
80.87
-0.95% transcode.go
4
69.44
-1.57% records.go
Jobs
ID Job ID Ran Files Coverage
1 26677225846.1 30 May 2026 06:45AM UTC 5
81.95
GitHub Action Run
Source Files on build 26677225846
  • Tree
  • List 5
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26677225846
  • b4454e79 on github
  • Prev Build on main (#26676325494)
  • Next Build on main (#26685428365)
  • Delete
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