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

rero / rero-mef / 34472291150
87%
staging: 87%

Build:
Build:
LAST BUILD BRANCH: mef-test
DEFAULT BRANCH: staging
Ran 10 Sep 2026 11:41AM UTC
Jobs 1
Files 203
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

10 Sep 2026 11:31AM UTC coverage: 87.105% (-0.5%) from 87.584%
34472291150

push

github

rerowep
feat(concepts): rebuild the association and stop storing nameless records

* move the rebuild out of alembic into `invenio utils
  rebuild-concept-association`, which commits each record on its own and
  resumes with `--from-pid`. Alembic holds one transaction open for the
  whole run and loses every committed record when the connection dies.
  Revision `dcdc05a29568` now only checks the concept index mappings.
* discard a record the source deleted before we held it, and delete one
  that loses its heading together with the MEF record it empties. A
  record stating a `relation_pid` is kept, and keeps its stored heading:
  `get_latest` reads it to forward the old pid to the new record.
* keep the stored `deleted` stamp on a re-delivered tombstone, so
  `--md5` skips it instead of rewriting it on every harvest.
* stop inventing `TAG: <tag> NOT FOUND` for a record with no heading
  field, so the schema refuses it. Only the missing field is tolerated,
  and a transformation that broke no longer looks like one the source
  stopped naming.
* guard the transformation in `marc_to_json`: one unreadable record is
  counted and written to the error file instead of aborting the file.
* block IdRef, GND and VIAF in the tests; `@pytest.mark.online(...)`
  opens one, `--allow-online` opens all.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

40 of 88 new or added lines in 8 files covered. (45.45%)

5627 of 6460 relevant lines covered (87.11%)

0.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
42
33.33
rero_mef/concepts/rebuild.py
3
88.0
-1.23% rero_mef/api_mef.py
3
83.33
-3.55% rero_mef/tasks.py
Jobs
ID Job ID Ran Files Coverage
1 34472291150.1 10 Sep 2026 11:41AM UTC 203
87.11
GitHub Action Run
Source Files on build 34472291150
  • Tree
  • List 203
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34472291150
  • 697f0273 on github
  • Prev Build on mef-test (#34334196048)
  • Next Build on mef-test (#34474589567)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc