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

rero / rero-ils / 33720572446
92%

Build:
DEFAULT BRANCH: staging
Ran 03 Sep 2026 06:33AM UTC
Jobs 1
Files 614
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

03 Sep 2026 05:50AM UTC coverage: 91.446%. Remained the same
33720572446

push

github

rerowep
fix(indexer): ignore bulk index version conflicts

A queued message carries the record revision read when the queue is
drained. When the record was indexed again in the meantime, the
`external_gte` version type answers with a 409 and keeps the newer
document, which is the wanted behaviour. Elasticsearch raised a
BulkIndexError for it, aborting the whole chunk and leaving the rest
of the queue to the next run.

* Ignore the 409 status in `IlsRecordsIndexer.process_bulk_queue`, so
  the conflict is only counted as a failed message. Every other error
  still raises.
* Set it as a default the caller can override, in the indexer rather
  than in the beat schedule, so the CLI, the alembic recipes and the
  listeners are covered as well.
* Add a test queueing a message older than the indexed document. It
  reproduces the BulkIndexError without the fix.

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

1 of 1 new or added line in 1 file covered. (100.0%)

24397 of 26679 relevant lines covered (91.45%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33720572446.1 03 Sep 2026 06:32AM UTC 614
91.45
GitHub Action Run
Source Files on build 33720572446
  • Tree
  • List 614
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33720572446
  • 9cd8c233 on github
  • Prev Build on staging (#33627206656)
  • Next Build on staging (#33765034690)
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