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

kobotoolbox / kpi / 29743815627 / 9
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1635-cleanup-legacy-kobocat-kml-logic
DEFAULT BRANCH: master
Ran 20 Jul 2026 01:00PM UTC
Files 894
Run time 30s
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

20 Jul 2026 12:51PM UTC coverage: 68.991% (+18.1%) from 50.876%
29743815627.9

push

github

web-flow
feat(longRunningMigrations): keep migration lock fresh with a heartbeat DEV-2427 (#7270)

### 📣 Summary

Background data migrations can now run for up to 24 hours per pass and
recover on their own if a server is restarted, so they finish more
reliably.

### 📖 Description

Some database maintenance tasks run in the background over a very large
amount of data. Until now each pass was capped at about 71 minutes, and
if the server running one was restarted it could stay stuck for a long
time before another server picked it up. These tasks now get up to 24
hours per pass and are retried within minutes if their server goes away,
so they complete without manual intervention.

### 👷 Description for instance maintainers

Long-running migrations now get a dedicated, much longer time budget, up
to about 24 hours per run, separate from the shared limits used by other
background tasks (those keep their current values). New environment
variables let you tune this:
`CELERY_LONG_RUNNING_MIGRATION_TASK_TIME_LIMIT`,
`CELERY_LONG_RUNNING_MIGRATION_TASK_SOFT_TIME_LIMIT`,
`CELERY_LONG_RUNNING_MIGRATION_TASK_HEARTBEAT_INTERVAL` and
`CELERY_LONG_RUNNING_MIGRATION_TASK_HEARTBEAT_TTL`.

While a migration runs, a background heartbeat keeps its lock alive with
a short lease and records that it is still making progress. If the
worker running it dies (for example a Kubernetes pod eviction), the
lease expires within a few minutes and the migration is picked up again
automatically, instead of being blocked until the old time limit
elapsed.

No database schema change and no new migration to run. The defaults are
safe, so no configuration change is required.

7260 of 12647 branches covered (57.4%)

25702 of 37254 relevant lines covered (68.99%)

0.69 hits per line

Source Files on job 29743815627.9
  • Tree
  • List 894
  • Changed 320
  • Source Changed 0
  • Coverage Changed 320
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 29743815627
  • 6609e0c9 on github
  • Prev Job for on release/2.026.27 (#29586939962.6)
  • Next Job for on release/2.026.27 (#29752099152.8)
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