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

rero / rero-mef / 34224228377
87%

Build:
DEFAULT BRANCH: staging
Ran 08 Sep 2026 12:10PM UTC
Jobs 1
Files 201
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

08 Sep 2026 12:06PM UTC coverage: 87.302% (+0.004%) from 87.298%
34224228377

push

github

rerowep
perf(docker): speed up the dev and test stack

Ports rero-ils 8ef67d4. The shard count it lowers with an index
template lived in the mapping files here, where no template can reach
it: settings stated in a create request beat every template.

* move the shard and replica count out of the twelve mapping files
  into one `record` template, and take the replicas from 2 to 1
* bring the dev and test indices down to one shard and no replica with
  an order 100 template: the `init` service installs it for the stack,
  tests/conftest.py puts it back after wiping the templates
* fix the flaky tests. The suite asked a 512 MB heap to carry 288
  shards, Elasticsearch died while creating the indices and every test
  in the module errored on a reset connection. Now 12 shards: six
  consecutive clean runs, ~125 s down to ~103 s
* relax every PostgreSQL durability guarantee, here and not in
  docker-services.yml, which is the base of the production example
* add healthchecks to the four services, and a `gate` depending on
  them and on `init`, so plain `docker compose up -d` blocks until the
  stack is usable and returns 1 rather than hanging. Replaces
  docker/wait-for-services.sh, unreferenced since .travis.yml went
* keep 8 shards for production, more than the data asks for: 45.7M
  documents measure ~18.5 GB, so the largest index holds 0.80 GB per
  shard. Lowering it needs a reindex

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

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

5466 of 6261 relevant lines covered (87.3%)

0.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34224228377.1 08 Sep 2026 12:10PM UTC 201
87.3
GitHub Action Run
Source Files on build 34224228377
  • Tree
  • List 201
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34224228377
  • 2d91fe30 on github
  • Prev Build on staging (#33614305105)
  • Next Build on staging (#34322584020)
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