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

kobotoolbox / kpi / 30269159095 / 1
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 27 Jul 2026 01:16PM UTC
Files 888
Run time 21s
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

27 Jul 2026 01:11PM UTC coverage: 44.281% (-5.2%) from 49.475%
30269159095.1

push

github

web-flow
fix(submissions): use correct Mongo indexes on `root_uuid`/`_uuid` fields INFRA-551 (#7307)

### 👷 Description for instance maintainers

This is the application-side counterpart to kobotoolbox/kobo-docker#381,
which reworks the MongoDB indexes on the `instances` collection (drops
indexes that only backed dead code, adds indexes matching how the app
actually queries `meta/rootUuid`/`_uuid`). Both PRs should land together
on an instance.

Two changes here:

- `kobo/apps/long_running_migrations/jobs/0028_sync_mongo_root_uuid.py`:
simplifies the "still missing root_uuid" query to a plain
`meta/rootUuid: {$exists: False}` (was also matching `None`/`''`, which
the backfill never produces), matching the shape of the new
`id_rootUuid_idx` index from kobo-docker#381. Also tightens
`_check_lrm_0027_is_completed` to require LRM 0027's status to be
strictly `completed` before 0028 runs, instead of accepting `completed`
or `failed`.
- `kpi/views/v2/data.py` (`_get_submission_by_id_or_root_uuid`): the
legacy UUID-lookup fallback now queries `_uuid` instead of
`meta/instanceID`, matching the `{_userform_id, _uuid}` index added in
kobotoolbox/kobo-docker#381 rather than relying on an index we're
retiring.

### 💭 Notes

Related to kobotoolbox/kobo-docker#381.

3665 of 12475 branches covered (29.38%)

16448 of 37145 relevant lines covered (44.28%)

0.44 hits per line

Source Files on job 30269159095.1
  • Tree
  • List 888
  • Changed 88
  • Source Changed 0
  • Coverage Changed 88
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 30269159095
  • 85c3218a on github
  • Prev Job for on release/2.026.27 (#29867541075.2)
  • Next Job for on release/2.026.27 (#30304356116.9)
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