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

kobotoolbox / kpi / 23298073259
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1604-audit-log-integration-for-django-admin
DEFAULT BRANCH: master
Ran 19 Mar 2026 01:53PM UTC
Jobs 10
Files 885
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

19 Mar 2026 01:48PM UTC coverage: 81.773% (-0.03%) from 81.801%
23298073259

push

github

web-flow
perf(asset): store version content hash in DB to avoid loading its content DEV-1841 (#6843)

### 📣 Summary

Opening a project with many deployed versions and many questions could
return a 502 error.

### 👷 Description for instance maintainers

In the API response of the asset detail endpoint
(`/api/v2/assets/{asset_uid}/`), the hash of the content of each version
was computed on the fly, loading all their JSON into memory (could be
many MB, even GB of objects in memory at once).

A new database field now stores the hash directly on each version
record, computed once when the version is saved. A long-running
migration backfills the hash for all existing records in small batches
to avoid memory spikes.

7417 of 11521 branches covered (64.38%)

29 of 45 new or added lines in 5 files covered. (64.44%)

401 existing lines in 16 files now uncovered.

28511 of 34866 relevant lines covered (81.77%)

5.81 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
96.0
0.76% kpi/models/asset_version.py
15
0.0
kobo/apps/long_running_migrations/jobs/0020_backfill_asset_version_hash.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
40.85
-1.41% kobo/apps/organizations/admin/organization.py
2
44.65
-0.38% kobo/apps/openrosa/libs/utils/logger_tools.py
3
61.21
-1.82% kobo/apps/organizations/models.py
3
60.53
-7.89% kobo/apps/organizations/utils.py
6
0.0
-37.5% kobo/apps/stripe/utils/view_utils.py
7
0.0
-100.0% kobo/apps/stripe/apps.py
8
0.0
-100.0% kobo/apps/stripe/urls.py
11
0.0
-44.0% kobo/apps/stripe/signals.py
12
35.0
-60.0% kobo/apps/stripe/utils/import_management.py
14
31.82
-31.82% kobo/apps/stripe/utils/limit_enforcement.py
19
0.0
-65.52% kobo/apps/stripe/admin.py
36
20.21
-38.3% kobo/apps/stripe/utils/billing_dates.py
60
26.05
-50.42% kobo/apps/stripe/utils/subscription_limits.py
63
0.0
-51.64% kobo/apps/stripe/models.py
75
0.0
-41.9% kobo/apps/stripe/views.py
81
0.0
-93.1% kobo/apps/stripe/serializers.py
Jobs
ID Job ID Ran Files Coverage
1 23298073259.1 19 Mar 2026 01:53PM UTC 881
53.29
2 23298073259.2 19 Mar 2026 01:53PM UTC 881
54.78
3 23298073259.3 19 Mar 2026 01:54PM UTC 883
54.55
4 23298073259.4 19 Mar 2026 01:54PM UTC 883
56.07
5 23298073259.5 19 Mar 2026 01:54PM UTC 881
53.38
6 23298073259.6 19 Mar 2026 01:55PM UTC 883
65.46
7 23298073259.7 19 Mar 2026 01:55PM UTC 881
60.53
8 23298073259.8 19 Mar 2026 01:55PM UTC 883
54.77
9 23298073259.9 19 Mar 2026 01:56PM UTC 883
61.7
10 23298073259.10 19 Mar 2026 01:56PM UTC 885
67.76
Source Files on build 23298073259
  • Tree
  • List 885
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 802bb5eb on github
  • Prev Build on release/2.026.07 (#23247771128)
  • Next Build on release/2.026.07 (#23344806450)
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