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

MITLibraries / s3-bagit-validator / 14406182936
91%
main: 90%

Build:
Build:
LAST BUILD BRANCH: v0.1.6
DEFAULT BRANCH: main
Ran 11 Apr 2025 03:07PM UTC
Jobs 1
Files 8
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

11 Apr 2025 03:02PM UTC coverage: 91.141% (+0.5%) from 90.646%
14406182936

push

github

ghukill
Bubble up handled exceptions into lambda response

Why these changes are being introduced:

It was pointed out that even for some handled exceptions (e.g.
a bad UUID) the error message returned by the Lambda + CLI was
still opaque.  Effort had gone into catching those cases and
providing meaningful python Exceptions, but they weren't getting
returned by the Lambda.

Turns out the CLI has some copy pasta for requests that was
raising an exception based on a HTTP status code, which was
short-circuiting the returning of those curated exceptions.

How this addresses that need:

Remove the .raise_for_status() call in the CLI which allows
the exceptions to get returned in the Lambda response.  Also,
improve exception handling to expose when a UUID is not found.

Side effects of this change:
* Lambda, and by proxy CLI, responses are improved with more
details when something fails

Relevant ticket(s):
* None

8 of 11 new or added lines in 1 file covered. (72.73%)

535 of 587 relevant lines covered (91.14%)

0.91 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
94.2
0.0% lambdas/validator.py
Jobs
ID Job ID Ran Files Coverage
1 14406182936.1 11 Apr 2025 03:07PM UTC 8
91.14
GitHub Action Run
Source Files on build 14406182936
  • Tree
  • List 8
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14406182936
  • 013112a4 on github
  • Prev Build on v0.1.0 (#14365782822)
  • 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