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

MITLibraries / s3-bagit-validator / 14502262811
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: v0.1.6
DEFAULT BRANCH: main
Ran 16 Apr 2025 08:47PM 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

16 Apr 2025 08:45PM UTC coverage: 89.937%. First build
14502262811

push

github

ghukill
Modify defaults for response payload

Why these changes are being introduced:

It was discovered that a lambda behind an ALB has a max response size
of 1mb, which is fairly small.  Formerly, we were returning the full AIP
manifest in the response regardless of validation results, meaning we
might return a manifest with 8k files where all the checksums
were confirmed.

This amount of data returned from the Lambda was exceeding this 1mb
limit.

How this addresses that need:
* Add include/exclude filters on the ValidationResponse dataclass,
allowing control over what fields to return
* Removes 'manifest' from payload when serializing Lambda response
* Add 'error_details' property that anticipates returning only files
that failed validation, which theoretically is much smaller

Side effects of this change:
* Full AIP manifest is not returned for every AIP validation.

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/IR-220

11 of 12 new or added lines in 2 files covered. (91.67%)

572 of 636 relevant lines covered (89.94%)

0.9 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
90.06
lambdas/aip.py
Jobs
ID Job ID Ran Files Coverage
1 14502262811.1 16 Apr 2025 08:47PM UTC 8
89.94
GitHub Action Run
Source Files on build 14502262811
  • Tree
  • List 8
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14502262811
  • ca61b5bd on github
  • 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