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

kobotoolbox / kpi / 23445335551
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 23 Mar 2026 03:32PM UTC
Jobs 10
Files 899
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

23 Mar 2026 03:27PM UTC coverage: 82.06% (+0.02%) from 82.042%
23445335551

push

github

web-flow
 perf(permissions): speed up bulk permission assignments DEV-421 (#6812)

### 📣 Summary

Assigning permissions to many users at once was extremely slow because
each user triggered a separate round-trip to the database for every
permission it received.

### 📖 Description

When sharing a survey or collection with a large number of users through
the bulk permission endpoint, the server would perform one database
write per user per permission — including implied permissions. On
datasets of 100+ users this caused noticeable slowdowns and, at scale,
timeouts.

All writes are now batched into a small fixed number of queries
regardless of how many users are in the payload. Removals are similarly
batched where possible. The API contract and visible behaviour are
unchanged.

7685 of 11869 branches covered (64.75%)

22 of 115 new or added lines in 2 files covered. (19.13%)

29343 of 35758 relevant lines covered (82.06%)

5.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
93
31.18
-8.29% kpi/serializers/v2/asset_permission_assignment.py
Jobs
ID Job ID Ran Files Coverage
1 23445335551.1 23 Mar 2026 03:32PM UTC 895
54.47
2 23445335551.2 23 Mar 2026 03:32PM UTC 895
52.95
3 23445335551.3 23 Mar 2026 03:33PM UTC 895
53.18
4 23445335551.4 23 Mar 2026 03:33PM UTC 897
54.18
5 23445335551.5 23 Mar 2026 03:34PM UTC 897
55.73
6 23445335551.6 23 Mar 2026 03:34PM UTC 895
60.16
7 23445335551.7 23 Mar 2026 03:34PM UTC 897
66.09
8 23445335551.8 23 Mar 2026 03:35PM UTC 897
54.54
9 23445335551.9 23 Mar 2026 03:35PM UTC 897
61.3
10 23445335551.10 23 Mar 2026 03:38PM UTC 899
68.34
Source Files on build 23445335551
  • Tree
  • List 899
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 47b00e62 on github
  • Prev Build on release/2.026.12 (#23358342814)
  • Next Build on release/2.026.12 (#23500784056)
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