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

kobotoolbox / kpi / 23580177676
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-2180-fix-admin-add-user
DEFAULT BRANCH: master
Ran 26 Mar 2026 06:13AM UTC
Jobs 10
Files 907
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

26 Mar 2026 06:08AM UTC coverage: 82.227% (+0.01%) from 82.216%
23580177676

push

github

web-flow
fix(qual): fix flaky throttling tests caused by global cache clearing in parallel CI (#6866)

### 📣 Summary
Fix flaky automatic QA throttling tests by removing global
`cache.clear()` and deleting only the user-specific throttle cache key.

### 📖 Description
The tests were using `cache.clear()` to reset the throttle state before
each test. When running tests in parallel (pytest -n auto) on CI,
multiple workers share the same Redis cache. Clearing the entire cache
in one worker could remove throttle state used by another worker,
causing inconsistent test results.

The Fix: Switched to
`cache.delete(f'throttle_automatic_qa_{self.asset.owner.id}')`. This
ensures each test worker only manages the cache state relevant to its
own execution context without interfering with others.

7763 of 11940 branches covered (65.02%)

29541 of 35926 relevant lines covered (82.23%)

5.8 hits per line

Coverage Regressions

Lines Coverage ∆ File
81
0.0
-93.1% kobo/apps/stripe/serializers.py
75
0.0
-41.9% kobo/apps/stripe/views.py
63
0.0
-51.64% kobo/apps/stripe/models.py
60
26.05
-50.42% kobo/apps/stripe/utils/subscription_limits.py
52
61.29
-23.96% kpi/utils/xml.py
36
20.21
-38.3% kobo/apps/stripe/utils/billing_dates.py
19
0.0
-65.52% kobo/apps/stripe/admin.py
14
31.82
-31.82% kobo/apps/stripe/utils/limit_enforcement.py
12
35.0
-60.0% kobo/apps/stripe/utils/import_management.py
11
0.0
-44.0% kobo/apps/stripe/signals.py
10
30.12
-12.05% kpi/utils/storage.py
8
0.0
-100.0% kobo/apps/stripe/urls.py
7
0.0
-100.0% kobo/apps/stripe/apps.py
6
0.0
-37.5% kobo/apps/stripe/utils/view_utils.py
4
75.12
-1.95% kpi/utils/mongo_helper.py
3
61.21
-1.82% kobo/apps/organizations/models.py
3
60.53
-7.89% kobo/apps/organizations/utils.py
2
44.65
-0.38% kobo/apps/openrosa/libs/utils/logger_tools.py
1
40.85
-1.41% kobo/apps/organizations/admin/organization.py
1
43.48
0.0% kobo/apps/subsequences/throttling.py
1
92.31
-7.69% kobo/apps/user_reports/utils/migrations.py
1
85.0
-5.0% kpi/urls/__init__.py
1
75.0
-6.25% kpi/utils/drf_exceptions.py
1
86.67
-0.95% kpi/utils/object_permission.py
Jobs
ID Job ID Ran Files Coverage
1 23580177676.1 26 Mar 2026 06:13AM UTC 903
52.87
2 23580177676.2 26 Mar 2026 06:14AM UTC 903
54.41
3 23580177676.3 26 Mar 2026 06:14AM UTC 905
54.1
4 23580177676.4 26 Mar 2026 06:15AM UTC 903
53.09
5 23580177676.5 26 Mar 2026 06:15AM UTC 905
55.66
6 23580177676.6 26 Mar 2026 06:15AM UTC 903
60.45
7 23580177676.7 26 Mar 2026 06:17AM UTC 905
61.59
8 23580177676.8 26 Mar 2026 06:18AM UTC 905
54.44
9 23580177676.9 26 Mar 2026 06:18AM UTC 907
68.26
10 23580177676.10 26 Mar 2026 06:27AM UTC 905
66.02
Source Files on build 23580177676
  • Tree
  • List 907
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • c4281da6 on github
  • Prev Build on release/2.026.12 (#23546667414)
  • Next Build on release/2.026.12 (#23604108588)
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