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

prisma-risk / tsoracle / 26379815675
95%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 02:25AM 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:18AM UTC coverage: 94.868% (+0.006%) from 94.862%
26379815675

push

github

web-flow
fix(codec): reject trailing bytes after a valid postcard body (#379)

decode used postcard::from_bytes, which stops once the target type is
fully read and silently ignores any bytes beyond it. For a version-
prefixed on-disk codec whose whole purpose is catching format drift,
that swallows a corruption signal: a partial overwrite that leaves
stale tail bytes behind decodes as a clean record.

Switch decode to postcard::take_from_bytes and reject a non-empty
remainder with a new CodecError::TrailingBytes { extra } variant. The
existing decode_rejects_truncated_input test covered too-few bytes; add
decode_rejects_trailing_bytes for the too-many case.

All three downstream codec_io_error matchers use a catch-all arm, so the
new variant maps to a generic IO error without code changes.

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

12293 of 12958 relevant lines covered (94.87%)

453475.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26379815675.1 25 May 2026 02:25AM UTC 82
94.87
GitHub Action Run
Source Files on build 26379815675
  • Tree
  • List 82
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26379815675
  • 5a0c9569 on github
  • Prev Build on main (#26379771513)
  • Next Build on main (#26379921763)
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