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

MITLibraries / s3-bagit-validator / 14198657654
94%
main: 90%

Build:
Build:
LAST BUILD BRANCH: v0.1.6
DEFAULT BRANCH: main
Ran 01 Apr 2025 02:43PM UTC
Jobs 1
Files 7
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

01 Apr 2025 02:39PM UTC coverage: 94.083% (-0.4%) from 94.498%
14198657654

Pull #22

github

ghukill
Improve Athena query for AIP inventory data

Why these changes are being introduced:

The updated AIP inventory Athena query has a potentially
non-deterministic quality where S3 inventory rows may not
have originated from the most recent S3 inventory pull
(which is partitioned by date).  Though the data may
have been accurate, it felt a little sloppy.

How this addresses that need:

Instead of a window function, we focus on retrieving only
the most recent data pull via the most recent 'dt' partition.
Additionally, if we know a) it is the most recent data pull
and b) it is 'is_latest' then we don't need to sort by
last_modified_date anymore.

Confirmed that query time remains about the same, but data
scanned is reduced, suggesting that use of partitions is more
effective here.

Side effects of this change:
* None

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/IR-193
Pull Request #22: IR 193 - parallelize checksum generation

38 of 42 new or added lines in 4 files covered. (90.48%)

4 existing lines in 1 file now uncovered.

318 of 338 relevant lines covered (94.08%)

0.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
90.2
-0.71% lambdas/config.py
3
93.01
-0.44% lambdas/aip.py

Uncovered Existing Lines

Lines Coverage ∆ File
4
93.01
-0.44% lambdas/aip.py
Jobs
ID Job ID Ran Files Coverage
1 14198657654.1 01 Apr 2025 02:43PM UTC 7
94.08
GitHub Action Run
Source Files on build 14198657654
  • Tree
  • List 7
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14198657654
  • Pull Request #22
  • PR Base - main (#14114742022)
  • 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