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

rero / rero-mef / 29008989430
87%

Build:
DEFAULT BRANCH: staging
Ran 09 Jul 2026 09:45AM UTC
Jobs 1
Files 199
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 Jul 2026 09:40AM UTC coverage: 87.361% (+0.03%) from 87.333%
29008989430

push

github

rerowep
fix(mef): resolve redirects via any linked source, not just one

* get_latest() only checked the redirect on the pid_type it was
  called with; add a shared _find_redirect_target() on
  EntityMefRecord that checks every linked source (idref, gnd,
  rero) instead, fixing lookups like
  /agents/mef/latest/gnd:X when only the idref source redirected
* de-duplicate three byte-for-byte identical (and buggy) get_latest
  implementations in agents/concepts/places mef api.py into that
  shared base class method
* theme/views.py: _compute_nav_urls had the same gap for the MEF
  detail page's Latest/Older buttons; add the missing reverse
  redirect_from lookup and extract _own_relation_url /
  _reverse_relation_urls for readability and testability
* add regression tests: a deterministic _find_redirect_target unit
  test (avoids relying on ambiguous Elasticsearch ordering) and a UI
  test for the previously-missing Latest button

Co-Authored-by: Peter Weber <peter.weber@rero.ch>

61 of 68 new or added lines in 2 files covered. (89.71%)

5488 of 6282 relevant lines covered (87.36%)

0.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
72.76
1.27% rero_mef/theme/views.py
1
89.2
1.7% rero_mef/api_mef.py
Jobs
ID Job ID Ran Files Coverage
1 29008989430.1 09 Jul 2026 09:45AM UTC 199
87.36
GitHub Action Run
Source Files on build 29008989430
  • Tree
  • List 199
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29008989430
  • c254dc41 on github
  • Prev Build on mef-latest (#28873715931)
  • Next Build on staging (#29009405035)
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