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

kobotoolbox / kpi / 19039491978 / 1
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: refactor-subsequences-2025
DEFAULT BRANCH: master
Ran 03 Nov 2025 03:51PM UTC
Files 861
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

03 Nov 2025 03:16PM UTC coverage: 78.838% (+0.001%) from 78.837%
19039491978.1

push

github

web-flow
fix(data): dynamically add empty validation status dict DEV-1159 

### đŸ“Ŗ Summary
Fix error when loading data tables for submissions created before
validation_statuses were added.

### 💭 Notes
Backport of https://github.com/kobotoolbox/kpi/pull/6388
Set `_validation_status` to `{}` if it's None on the Instance (which may
happen if instances are bulk updated or created) when saving to mongo,
and, on the other side, set `_validation_status` to `{}` when returning
mongo results if it would otherwise be empty.

### 👀 Preview steps


1. â„šī¸ have an account and a project
2. Add submissions to the project
3. In a mongo shell, run `db.instances.updateMany({"_userform_id":
"<username>_<asset_uid>"}, {$unset: {"_validation_status":""}})` . This
will mimic old instances where `_validation_status` isn't present
4. Go to the data table for the project
5. 🔴 [on main] Error
6. đŸŸĸ [on PR] Data table loads successfully

6764 of 11012 branches covered (61.42%)

26026 of 33012 relevant lines covered (78.84%)

0.79 hits per line

Source Files on job 19039491978.1
  • Tree
  • List 861
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 19039491978
  • f8f980cb on github
  • Prev Job for on release/2.025.37 (#19001559349.1)
  • Next Job for on release/2.025.37 (#19112932462.1)
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