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

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

Build:
Build:
LAST BUILD BRANCH: mef-test
DEFAULT BRANCH: staging
Ran 09 Sep 2026 02:59PM 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

09 Sep 2026 02:54PM UTC coverage: 87.054% (-0.5%) from 87.584%
34366759487

push

github

rerowep
feat(concepts): migrate the association identifier with alembic

The association identifiers live in the search index, so the concept
records have to be reindexed before their MEF records can be rebuilt on
the normalised BNF number. Nothing changes shape in the database, but
alembic is what records whether an instance has already run the
migration, and the other revisions of this module reindex the same way.

* The revision refuses to run while a live concept index does not map
  the association fields as its mapping file declares. An index created
  before those fields existed maps them dynamically, and a dynamically
  mapped `_association_level` becomes a text field that the match level
  filter silently never matches. Failing leaves the revision unstamped,
  so it runs again after `invenio rero es index update-mapping`.
* The indexing queue is drained in process, as `0d0b3009dbe0` and
  `d8536341fc5e` already do, so the migration is one `alembic upgrade`
  rather than a sequence of commands to run by hand.
* The MEF records left without any entity are deleted afterwards.
* `downgrade` only explains itself: the clusters cannot be rebuilt on an
  identifier the code no longer computes.

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

21 of 63 new or added lines in 1 file covered. (33.33%)

5615 of 6450 relevant lines covered (87.05%)

0.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
42
33.33
rero_mef/concepts/rebuild.py
Jobs
ID Job ID Ran Files Coverage
1 34366759487.1 09 Sep 2026 02:59PM UTC 203
87.05
GitHub Action Run
Source Files on build 34366759487
  • Tree
  • List 203
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34366759487
  • 11d81775 on github
  • Prev Build on mef-test (#34334196048)
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