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

MITLibraries / timdex-index-manager / 15491041464
97%
main: 96%

Build:
Build:
LAST BUILD BRANCH: v2.7
DEFAULT BRANCH: main
Ran 06 Jun 2025 12:56PM UTC
Jobs 1
Files 5
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

06 Jun 2025 12:53PM UTC coverage: 97.436% (-0.3%) from 97.783%
15491041464

Pull #365

github

ghukill
Add new reindex-source CLI command

Why these changes are being introduced:

Now that the TDA library can yield only the current records for a source from
the parquet dataset, this opens up the opporunity for a fairly simple CLI command
that performs a full refresh of a source in Opensearch using data already present
in the ETL dataset data, no extract or transform work is required.

This command could be helpful for development, where it would be handy to see
the current state of a source in a local Opensearch instance.  Or, it could be
helpful for disaster recovery where we want to refresh a source in Opensearch
without performing the extract + transform stages again.

How this addresses that need:
* Adds new reindex-source CLI command
  * create new index
  * promote and alias the new index
  * read current records for a source from dataset and bulk index them

Side effects of this change:
* None

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/TIMX-495
Pull Request #365: TIMX 495 - add new reindex-source CLI command

21 of 23 new or added lines in 1 file covered. (91.3%)

418 of 429 relevant lines covered (97.44%)

0.97 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
98.61
-1.39% tim/cli.py
Jobs
ID Job ID Ran Files Coverage
1 15491041464.1 06 Jun 2025 12:56PM UTC 5
97.44
GitHub Action Run
Source Files on build 15491041464
  • Tree
  • List 5
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15491041464
  • Pull Request #365
  • PR Base - main (#15427147015)
  • 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