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

kobotoolbox / kpi / 22866141556
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1815-groups-serviceproviderconfig-endpoints
DEFAULT BRANCH: master
Ran 09 Mar 2026 05:33PM UTC
Jobs 10
Files 887
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 Mar 2026 05:28PM UTC coverage: 81.15% (+0.02%) from 81.127%
22866141556

push

github

web-flow
perf(assets): reduce memory and query overhead in permission loading DEV-1803 (#6790)

### 📣 Summary
Loading asset lists was slow and memory-hungry for accounts with many
projects and shared users. This PR makes it significantly faster and
lighter.

### 📖 Description
The asset list was doing a lot of redundant database work behind the
scenes — fetching the same permission data over and over for each asset.
This PR fixes that by loading what's needed up front, in as few queries
as possible.

A new optional query parameter `?current_user_permissions_only=true`
lets the frontend request only the current user's own permissions,
instead of everyone's. The frontend now sends this automatically on
every asset list call, which makes a noticeable difference on accounts
with lots of sharing.

7278 of 11443 branches covered (63.6%)

70 of 108 new or added lines in 6 files covered. (64.81%)

3 existing lines in 1 file now uncovered.

27987 of 34488 relevant lines covered (81.15%)

5.74 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
94.32
2.65% kpi/mixins/object_permission.py
1
70.54
0.57% kpi/views/v2/asset.py
3
86.67
-1.18% kpi/utils/object_permission.py
16
70.86
10.69% kpi/serializers/v2/asset.py
17
39.47
4.28% kpi/serializers/v2/asset_permission_assignment.py

Uncovered Existing Lines

Lines Coverage ∆ File
3
70.86
10.69% kpi/serializers/v2/asset.py
Jobs
ID Job ID Ran Files Coverage
1 22866141556.1 09 Mar 2026 05:33PM UTC 883
52.2
2 22866141556.2 09 Mar 2026 05:33PM UTC 883
53.87
3 22866141556.3 09 Mar 2026 05:33PM UTC 885
53.48
4 22866141556.4 09 Mar 2026 05:34PM UTC 885
55.18
5 22866141556.5 09 Mar 2026 05:35PM UTC 885
64.94
6 22866141556.6 09 Mar 2026 05:35PM UTC 883
52.53
7 22866141556.7 09 Mar 2026 05:35PM UTC 883
60.31
8 22866141556.8 09 Mar 2026 05:36PM UTC 885
53.94
9 22866141556.9 09 Mar 2026 05:36PM UTC 887
67.26
10 22866141556.10 09 Mar 2026 05:36PM UTC 885
61.49
Source Files on build 22866141556
  • Tree
  • List 887
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • d65433f2 on github
  • Prev Build on release/2.026.03 (#22857660450)
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