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

ben-manes / caffeine / #5675
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 22 Jul 2026 09:28AM UTC
Jobs 1
Files 78
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

22 Jul 2026 09:17AM UTC coverage: 99.953%. Remained the same
#5675

push

github

ben-manes
Fail loudly on a truncated binary trace

BinaryTraceReader treated any EOFException from readEvent as a clean
end-of-trace, so a trace whose final record was truncated (a partial
last record, or a truncated gzip whose inflater dies mid-record) was
silently accepted and its hit rate reported on incomplete data.

Wrap the stream in a CountingInputStream and, on EOFException, throw
when bytes were consumed since the record started (a partial record)
rather than none (a genuine record boundary). No reader changes: a
clean boundary always throws on the first read, before any byte.

4192 of 4203 branches covered (99.74%)

8471 of 8475 relevant lines covered (99.95%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5675.1 22 Jul 2026 09:28AM UTC 78
99.95
Source Files on build #5675
  • Tree
  • List 78
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • e07d3ba6 on github
  • Prev Build on v3.dev
  • Next Build on v3.dev
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc