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

cenkalti / rain / 27310795747
41%

Build:
DEFAULT BRANCH: master
Ran 10 Jun 2026 10:36PM UTC
Jobs 1
Files 127
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

10 Jun 2026 10:36PM UTC coverage: 38.09% (+1.5%) from 36.594%
27310795747

push

github

jakealti
test: add tests for storage layer and jsonutil

Cover the previously-untested storage and disk-IO packages using
t.TempDir() and in-memory file fixtures (no network):

- jsonutil: MarshalCompactPretty field sorting/formatting (0%->94%).
- storage: PaddingFile zero-read / write-panic / close (0%->100%).
- storage/filestorage: Open create-vs-exists, read/write round-trip,
  truncate-on-resize, RootDir (0%->85%).
- verifier: marks only pieces whose on-disk data matches the hash
  (0%->82%).
- piecewriter: writes to disk on hash match, skips on mismatch
  (0%->100%).
- allocator: create-then-find files across runs, padding files
  (0%->75%).
- cachedpiece: block-aligned ReadAt with cache reuse (0%->94%).

4556 of 11961 relevant lines covered (38.09%)

46.46 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
43.29
-1.22% torrent/torrent_messagehandler.go
3
46.38
-1.28% internal/peerconn/peerreader/peerreader.go
3
10.71
-1.79% torrent/torrent_stats.go
Jobs
ID Job ID Ran Files Coverage
1 27310795747.1 10 Jun 2026 10:36PM UTC 127
38.09
GitHub Action Run
Source Files on build 27310795747
  • Tree
  • List 127
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 14cff6c0 on github
  • Prev Build on master (#27310357125)
  • Next Build on master (#27311133125)
  • 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