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

openvax / topiary / 34803217055-1
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: fix-declared-deps-and-dead-surface
DEFAULT BRANCH: master
Ran 14 Sep 2026 03:42AM UTC
Jobs 1
Files 43
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

14 Sep 2026 03:36AM UTC coverage: 92.138% (+0.002%) from 92.136%
34803217055-1

Pull #309

github

iskandr
Report a missing input file's message, not its errno (5.56.0 regression)

Reviewing 5.56.0's own diff turned up a bug it introduced. Its CLI
handler unwrapped e.args[0] for every exception it caught, to strip the
extra layer of repr quoting str() puts on a KeyError subclass:

    message = e.args[0] if e.args else str(e)

The version before it guarded that unwrap with isinstance(e, KeyError).
Dropping the guard applied it to OSError too, whose args are
(errno, strerror) - so args[0] on a missing input file is the bare
integer 2. A user passing a nonexistent --peptide-csv got

    topiary: error: 2

instead of

    topiary: error: [Errno 2] No such file or directory: '...'

Reproduced through main() before changing anything. The unwrap is now
scoped to CachedPredictorCoverageError specifically, the only exception
on this path whose str() needs it; everything else renders through
str() exactly as it did before 5.56.0, which is correct by construction
rather than by enumeration.

The test gap that let this through is closed too:
test_main_reports_a_missing_input_file_readably asserts the strerror
text and the path both reach stderr, and explicitly pins the errno-only
output this regressed to. Confirmed failing against 5.56.0.

Claude-Session: https://claude.ai/code/session_015pMD1uiTztbB2bTQ1FkY8m
Pull Request #309: Report a missing input file's message, not its errno (5.56.0 regression)

5 of 5 new or added lines in 2 files covered. (100.0%)

7125 of 7733 relevant lines covered (92.14%)

0.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34803217055-1.1 14 Sep 2026 03:42AM UTC 43
92.14
GitHub Action Run
Source Files on build 34803217055-1
  • Tree
  • List 43
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34803217...
  • Pull Request #309
  • PR Base - master (#34801412...)
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