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

kobotoolbox / kpi / 29344749533
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-2432-no-version-update
DEFAULT BRANCH: master
Ran 14 Jul 2026 03:23PM UTC
Jobs 10
Files 893
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

14 Jul 2026 03:18PM UTC coverage: 81.499% (-0.006%) from 81.505%
29344749533

push

github

web-flow
fix(parsers): preserve raw filenames beyond 255 chars DEV-1856 (#7234)

### 📣 Summary

Fixed a server error that blocked KoboCollect submissions for projects
with very long names.

### 📖 Description

Submitting a form from KoboToolbox Collect could fail with a server
error when the project name was very long. Submissions now succeed
regardless of name length, so no data is lost.

### 💭 Notes

The submission filename is derived from the form title. Long titles
overflowed the parser's base64-encoded filename past Django's 255-char
cap on `file.name`, raising `binascii.Error` → HTTP 500. The parser now
keeps the raw filename in a side-channel dict instead of `file.name`, so
it survives any length. No limit change, no migration.

Tests: unit round-trip (`kpi/tests/test_parsers.py`) + e2e
`test_post_submission_with_long_filename` (reproduces the 500 pre-fix).
Submission and snapshot suites green on both settings axes.

### 👀 Preview steps

1. deploy a project and rename it to a 255+ character title
2. submit a form for it from KoboToolbox Collect
3. 🔴 [on main] submission fails with HTTP 500
4. 🟢 [on PR] submission succeeds

9328 of 12655 branches covered (73.71%)

10 of 10 new or added lines in 1 file covered. (100.0%)

30347 of 37236 relevant lines covered (81.5%)

5.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29344749533.1 14 Jul 2026 03:23PM UTC 889
53.0
2 29344749533.2 14 Jul 2026 03:23PM UTC 889
44.45
3 29344749533.3 14 Jul 2026 03:24PM UTC 891
50.94
4 29344749533.4 14 Jul 2026 03:24PM UTC 891
45.81
5 29344749533.5 14 Jul 2026 03:24PM UTC 889
49.61
6 29344749533.6 14 Jul 2026 03:25PM UTC 891
54.26
7 29344749533.7 14 Jul 2026 03:25PM UTC 891
66.77
8 29344749533.8 14 Jul 2026 03:26PM UTC 889
59.01
9 29344749533.9 14 Jul 2026 03:27PM UTC 891
60.16
10 29344749533.10 14 Jul 2026 03:28PM UTC 893
69.07
Source Files on build 29344749533
  • Tree
  • List 893
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • e424d0a5 on github
  • Prev Build on main (#29334126027)
  • Next Build on main (#29345082749)
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