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

rero / rero-ils / 22623379935 / 1
91%
staging: 91%

Build:
Build:
LAST BUILD BRANCH: rep-etag
DEFAULT BRANCH: staging
Ran 03 Mar 2026 02:00PM UTC
Files 608
Run time 19s
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

03 Mar 2026 12:36PM UTC coverage: 92.058% (+0.08%) from 91.974%
22623379935.1

push

github

PascalRepond
refactor(loans): simplify anonymisation to a single 12-month delay

Replace the 3-month/6-month two-tier mechanism with a single 12-month
delay for all patrons:

- remove RERO_ILS_ANONYMISATION_MIN_TIME_LIMIT; update MAX to 12 months
- simplify can_anonymize() and get_anonymized_candidates(): concluded
  loans older than 12 months are anonymised unconditionally
- remove keep_history=False immediate anonymisation trigger from the
  patron listener
- move patron history visibility to circulation_search_factory():
  patrons who opt out only see non-concluded loans; librarians see all
  loans up to 12 months regardless of patron preference
- add test_keep_history_loan_visibility covering patron/librarian search
  visibility and post-anonymisation exclusion for all users
- Closes #4042.

Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>

23485 of 25511 relevant lines covered (92.06%)

0.92 hits per line

Source Files on job 22623379935.1
  • Tree
  • List 608
  • Changed 33
  • Source Changed 26
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22623379935
  • 80445ba6 on github
  • Prev Job for on ils-dev (#20962971360.1)
  • Next Job for on ils-dev (#22630764698.1)
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