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

kobotoolbox / kpi / 22676123444
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1815-groups-serviceproviderconfig-endpoints
DEFAULT BRANCH: master
Ran 04 Mar 2026 03:59PM UTC
Jobs 2
Files 885
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

04 Mar 2026 03:25PM UTC coverage: 81.263% (+2.2%) from 79.041%
22676123444

push

github

web-flow
fix(longRunningMigration): fix 0005 pagination timeout and improve duplicate cleanup DEV-1698 (#6777)

### 💭 Notes

- **LRM 0005 pagination fix**: removed cursor-based pagination (`ORDER
BY pk` + `pk__gt`) that forced full table scans and caused timeouts.
Instances are now fetched without ordering (order is irrelevant — we
just need to exhaust all `root_uuid=NULL` rows for a given xform).

- **`clean_duplicated_submissions` improvements**: switched from
`transaction.atomic()` + raw MongoDB deletion to
`kc_transaction_atomic()` + `delete_instances()` for proper cross-DB
support. `root_uuid` is now backfilled on the surviving reference
*after* duplicates are deleted (to avoid a unique-constraint violation
when a duplicate already held the same value). Added XForm parser
caching (`use_cached_parser=True`) to avoid redundant DB queries per
batch. Comprehensive test suite added.

7277 of 11416 branches covered (63.74%)

7 of 15 new or added lines in 4 files covered. (46.67%)

149 existing lines in 12 files now uncovered.

27973 of 34423 relevant lines covered (81.26%)

1.6 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
0.0
0.0% kobo/apps/long_running_migrations/jobs/0005_backfill_logger_instance_root_uuid.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
84.62
-9.13% kobo/celery.py
4
0.0
0.0% kobo/apps/long_running_migrations/jobs/0005_backfill_logger_instance_root_uuid.py
4
93.13
-1.61% kobo/apps/openrosa/apps/logger/signals.py
4
0.0
0.0% kobo/settings/prod.py
7
84.91
0.29% kobo/apps/trash_bin/utils/project.py
7
89.11
0.04% kpi/views/v2/data.py
11
80.0
-0.51% kobo/apps/hook/models/service_definition_interface.py
13
0.0
0.0% kobo/apps/long_running_migrations/jobs/0013_migrate_mfa_data.py
14
69.39
2.72% kobo/apps/openrosa/apps/logger/utils/counters.py
17
0.0
0.0% kobo/apps/long_running_migrations/jobs/0011_backfill_exceeded_limit_counters.py
17
82.41
-11.53% kobo/apps/openrosa/apps/logger/utils/instance.py
49
27.94
-29.2% kpi/utils/storage.py
Jobs
ID Job ID Ran Files Coverage
1 22676123444.1 04 Mar 2026 04:00PM UTC 883
78.93
2 22676123444.2 04 Mar 2026 04:04PM UTC 885
81.22
Source Files on build 22676123444
  • Tree
  • List 885
  • Changed 46
  • Source Changed 0
  • Coverage Changed 46
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • b9a4e05d on github
  • Prev Build on release/2.026.03 (#22324029171)
  • Next Build on release/2.026.03 (#22679869904)
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