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

kobotoolbox / kpi / 20077160361
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 09 Dec 2025 08:51PM UTC
Jobs 2
Files 879
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

09 Dec 2025 08:14PM UTC coverage: 81.29% (-0.008%) from 81.298%
20077160361

push

github

web-flow
fix(exports): handle errors properly (for 2.025.47) DEV-1382  (#6539)

### đŸ“Ŗ Summary

When creating exports and encountering API errors, the UI is no longer
unresponsive.

### 💭 Notes

Previously in the code we had zero error handling. When export button
was being disabled because of pending status, it wouldn't get undisabled
after API call finished with error.

### 👀 Preview steps

1. â„šī¸ have an account and a project with submissions
2. go to Project → Settings → Sharing
3. check "Anyone can view submissions made to this form"
4. go to Project → Data → Downloads
5. copy browser url
6. open new browser window in private mode
7. open the copied url
8. ensure you use Celery (step in kobo-install setup)
9. stop `worker` container
10. click "Export" button
11. notice that "Export" button is displaying a spinner state
12. reload browser tab
13. click "Export" button
14. 🔴 [on main] notice that "Export" button stays disabled after API
call finishes with error and a vague toast notification appears
15. đŸŸĸ [on PR] notice that "Export" button is available again and error
toast notification appears with more useful error

---------

Co-authored-by: Anji Tong <ollejna@gmail.com>

7159 of 11240 branches covered (63.69%)

27671 of 34040 relevant lines covered (81.29%)

1.6 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
81.82
18.18% kobo/apps/accounts/utils.py
1
83.54
30.38% kobo/apps/mass_emails/user_queries.py
1
95.77
36.62% kobo/apps/trackers/utils.py
3
0.0
-100.0% kobo/settings/testing_no_stripe.py
5
89.36
59.57% kobo/apps/stripe/utils/billing_dates.py
Jobs
ID Job ID Ran Files Coverage
1 20077160361.1 09 Dec 2025 08:51PM UTC 879
81.26
2 20077160361.2 09 Dec 2025 09:24PM UTC 877
78.94
Source Files on build 20077160361
  • Tree
  • List 879
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • d1c27f43 on github
  • Prev Build on release/2.025.47 (#20076338904)
  • Next Build on release/2.025.47 (#20086882322)
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