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

kobotoolbox / kpi / 19039491978
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-1497-show-most-recently-created-qual-answer
DEFAULT BRANCH: master
Ran 03 Nov 2025 03:51PM UTC
Jobs 2
Files 861
Run time 3min
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: 81.14% (-0.006%) from 81.146%
19039491978

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

6949 of 10963 branches covered (63.39%)

3 of 3 new or added lines in 3 files covered. (100.0%)

26786 of 33012 relevant lines covered (81.14%)

1.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19039491978.1 03 Nov 2025 03:51PM UTC 861
78.84
2 19039491978.2 03 Nov 2025 03:53PM UTC 861
81.12
Source Files on build 19039491978
  • Tree
  • List 861
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • f8f980cb on github
  • Prev Build on release/2.025.37 (#19001559349)
  • Next Build on release/2.025.37 (#19112932462)
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

© 2025 Coveralls, Inc