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

kobotoolbox / kpi / 24244591057
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 10 Apr 2026 01:15PM UTC
Jobs 10
Files 889
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

10 Apr 2026 01:10PM UTC coverage: 81.724% (+0.03%) from 81.698%
24244591057

push

github

web-flow
fix(subsequences): allow accepting nlp actions even if limit exceeded DEV-1966 (#6927)

### đŸ“Ŗ Summary
Ensure users can save/delete automatic NLP results even if they are over
their usage limits.


### 👀 Preview steps

Setup:

1. enable Stripe
2. enable automatic NLP
3. set `USAGE_LIMIT_ENFORCEMENT` in Constance to True
4. set `ENDPOINT_CACHE_DURATION=1`

Preview:

1. â„šī¸ have an account on the default (free) plan and a project with at
least one audio question and at least one submission. The audio for the
submission should be a several seconds long at least.
5. In Django admin, set the `metadata.asr_seconds` in the Community plan
to something very low (eg 1)
6. Add an automatic transcript
7. Save the transcript
8. 🔴 [on release] Error `The owner of this asset has exeeded their usage
limit`
9. đŸŸĸ [on PR] Successful save
10. Delete the transcript
11. 🔴 [on release] Error `The owner of this asset has exeeded their
usage limit`
12. đŸŸĸ [on PR] Successful delete

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

7448 of 11564 branches covered (64.41%)

2 of 9 new or added lines in 2 files covered. (22.22%)

165 existing lines in 17 files now uncovered.

28583 of 34975 relevant lines covered (81.72%)

5.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
40.0
-0.81% kobo/apps/subsequences/actions/base.py
1
46.97
0.0% kobo/apps/subsequences/models.py

Coverage Regressions

Lines Coverage ∆ File
52
59.72
-24.64% kpi/utils/xml.py
24
74.76
-23.3% kpi/utils/usage_calculator.py
19
38.24
-55.88% kpi/parsers.py
13
62.82
-16.67% kpi/authentication.py
10
44.0
-40.0% kobo/apps/stripe/signals.py
10
30.12
-12.05% kpi/utils/storage.py
8
58.51
-8.51% kobo/apps/stripe/utils/billing_dates.py
6
0.0
-100.0% kobo/conftest.py
6
63.08
-1.54% kpi/utils/hash.py
5
76.47
-4.2% kobo/apps/stripe/utils/subscription_limits.py
4
75.12
-1.95% kpi/utils/mongo_helper.py
2
82.14
-7.14% kobo/urls.py
2
80.0
-20.0% kpi/mixins/mfa.py
1
93.02
-2.33% kpi/backends.py
1
50.7
-0.47% kpi/renderers.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 24244591057.1 10 Apr 2026 01:15PM UTC 885
53.16
2 24244591057.2 10 Apr 2026 01:15PM UTC 885
54.65
3 24244591057.3 10 Apr 2026 01:16PM UTC 887
54.42
4 24244591057.4 10 Apr 2026 01:16PM UTC 885
53.49
5 24244591057.5 10 Apr 2026 01:17PM UTC 887
65.4
6 24244591057.6 10 Apr 2026 01:17PM UTC 885
60.4
7 24244591057.7 10 Apr 2026 01:18PM UTC 887
61.56
8 24244591057.8 10 Apr 2026 01:18PM UTC 889
67.69
9 24244591057.9 10 Apr 2026 01:56PM UTC 887
55.93
10 24244591057.10 10 Apr 2026 02:00PM UTC 887
54.88
Source Files on build 24244591057
  • Tree
  • List 889
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 948f9989 on github
  • Prev Build on release/2.026.07 (#24132020822)
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