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

MITLibraries / s3-bagit-validator / 14798691470
88%
main: 90%

Build:
Build:
LAST BUILD BRANCH: v0.1.6
DEFAULT BRANCH: main
Ran 02 May 2025 03:56PM 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

02 May 2025 01:35PM UTC coverage: 88.092% (+0.02%) from 88.075%
14798691470

Pull #75

github

ghukill
Improve AIP Inventory SQL query

Why these changes are being introduced:

As noted Jira ticket IR-232, one "AIP" in S3 was problematic.
It was an "AIP" in the sense it had a valid UUID in an S3 key,
but this UUID showed up only for a single object which was a
.7z file.  This actually pointed at a larger issue, how we
determine "AIPs" that we have found in Inventory data.

What we lacked before was some kind of check that "AIPs" we
found from Inventory data aligned with a valid Bagit structure.

How this addresses that need:

The SQL query that looks for S3 objects with a valid UUID
in the key, after grouping by found UUID + prefix, now
also ensures that 'bagit.txt' was included for at least
one of the AIP files.  Without this, we can assume
whatever was found in S3 was not a valid Bagit AIP
structure.

Side effects of this change:
* The amount of AIPs "found" appears to be less, but is
arguably just more accurate.

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/IR-232
Pull Request #75: IR 206 subtasks - IR 231 and IR 232

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

614 of 697 relevant lines covered (88.09%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 14798691470.1 02 May 2025 03:56PM UTC 8
88.09
GitHub Action Run
Source Files on build 14798691470
  • Tree
  • List 8
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14798691470
  • Pull Request #75
  • PR Base - main (#14798653720)
  • 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