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

kobotoolbox / kpi / 23614526029
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 26 Mar 2026 07:47PM UTC
Jobs 10
Files 887
Run time 2min
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

26 Mar 2026 07:42PM UTC coverage: 81.745% (+0.008%) from 81.737%
23614526029

push

github

web-flow
fix(userReports): prevent infinite loop in MV background job (#6876)

### 💭 Notes

- Root cause: when `SKIP_HEAVY_MIGRATIONS=True`, `manage_user_reports_mv
--create` resets `LongRunningMigration.status` back to `'created'`,
which re-triggers `0019_recreate_user_reports_mv` indefinitely.
- Fix: a new `--force` flag bypasses `SKIP_HEAVY_MIGRATIONS` and runs
the migration immediately. The background job always passes `--force`.
- `--force` also creates indexes with `CONCURRENTLY` to avoid locking
the materialized view during index creation.
- No behavior change when `--force` is not passed.

7437 of 11551 branches covered (64.38%)

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

28552 of 34928 relevant lines covered (81.75%)

5.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
0.0
0.0% kobo/apps/long_running_migrations/jobs/0019_recreate_user_reports_mv.py
Jobs
ID Job ID Ran Files Coverage
1 23614526029.1 26 Mar 2026 07:47PM UTC 883
53.23
2 23614526029.2 26 Mar 2026 07:47PM UTC 883
54.71
3 23614526029.3 26 Mar 2026 07:48PM UTC 885
54.49
4 23614526029.4 26 Mar 2026 07:49PM UTC 885
56.0
5 23614526029.5 26 Mar 2026 07:49PM UTC 883
53.56
6 23614526029.6 26 Mar 2026 07:49PM UTC 885
65.39
7 23614526029.7 26 Mar 2026 07:49PM UTC 883
60.47
8 23614526029.8 26 Mar 2026 07:51PM UTC 887
67.69
9 23614526029.9 26 Mar 2026 07:51PM UTC 885
54.95
10 23614526029.10 26 Mar 2026 08:11PM UTC 885
61.64
Source Files on build 23614526029
  • Tree
  • List 887
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • b238c909 on github
  • Prev Build on release/2.026.07 (#23613569695)
  • Next Build on release/2.026.07 (#23617314814)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc