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

kobotoolbox / kpi / 19242097076
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: refactor-subsequences-2025
DEFAULT BRANCH: master
Ran 10 Nov 2025 07:08PM UTC
Jobs 2
Files 878
Run time 3min
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 Nov 2025 06:33PM UTC coverage: 81.309% (-0.004%) from 81.313%
19242097076

push

github

web-flow
feat(userReports): add `extra_details` with data related to removing users DEV-1242 (#6453)

### 👀 Preview steps

1. â„šī¸ have a superuser account and several other user accounts with
various subscriptions and projects
2. Unapply the user_reports migrations: `./manage.py migrate
user_reports zero`
3. Re-apply the user_reports migrations to see the changes: `./manage.py
migrate user_reports`
4. Checkout the endpoint: `api/v2/user-reports/
5. đŸŸĸ [on PR] notice that the data has been reformatted with
`extra_details__uid` renamed to `user_uid` and a new json containing the
`extra_details`:
```json
  "user_uid": "ujYVFN74XnDrU27AbWWSnR",
  ...
 "extra_details": {
      "data": {
        "name": "kobo",
        "sector": "",
        "country": "",
        "organization": "",
        "last_ui_language": "en",
        "organization_type": "",
        "organization_website": "",
        "newsletter_subscription": false,
        "done_storage_limits_check": true
      },
      "date_removed": null,
      "validated_password": true,
      "password_date_changed": null,
      "date_removal_requested": "2025-11-07T22:12:55Z"
  },
```
6. đŸŸĸ Test various filters on different fields and ensure that they work
correctly
Some examples:
- `?q=user__uid:myuidstring`
- `?q=extra_details__data__name:myname`
- `?q=extra_details__data__organization:myorg`
- `?q=extra_details__date_removed__isnull:True`
- `?q=extra_details__date_removed__ne:null`
- `?q=extra_details__validated_password:True`
- `?q=extra_details__password_date_changed__isnull:True`
- `?q=extra_details__date_removal_requested:"2025-11-07T22:12:55Z"`

7091 of 11142 branches covered (63.64%)

7 of 8 new or added lines in 3 files covered. (87.5%)

803 existing lines in 28 files now uncovered.

27388 of 33684 relevant lines covered (81.31%)

1.6 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
88.46
-2.45% kpi/schema_extensions/v2/user_reports/extensions.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.32
-1.41% kobo/apps/organizations/admin/organization.py
1
85.0
-5.0% kpi/urls/__init__.py
1
93.62
-2.13% kpi/utils/django_orm_helper.py
2
93.53
-1.0% kobo/apps/mass_emails/tasks.py
3
63.64
-27.27% kobo/apps/accounts/utils.py
3
82.42
-1.82% kobo/apps/organizations/models.py
3
86.67
-10.0% kobo/apps/organizations/utils.py
3
90.52
-2.59% kpi/views/environment.py
4
83.33
-8.33% kobo/apps/accounts/mfa/models.py
7
0.0
-100.0% kobo/apps/stripe/apps.py
8
0.0
-100.0% kobo/apps/stripe/urls.py
10
83.33
-11.11% kobo/apps/subsequences/api_view.py
12
35.0
-60.0% kobo/apps/stripe/utils/import_management.py
12
0.0
-75.0% kobo/apps/stripe/utils/view_utils.py
15
0.0
-100.0% kobo/apps/stripe/tasks.py
16
85.82
-3.07% kobo/apps/openrosa/libs/utils/logger_tools.py
19
0.0
-65.52% kobo/apps/stripe/admin.py
24
0.0
-96.0% kobo/apps/stripe/signals.py
24
75.73
-23.3% kpi/utils/usage_calculator.py
25
47.89
-35.21% kobo/apps/mass_emails/user_queries.py
27
57.97
-39.13% kobo/apps/trackers/utils.py
30
31.82
-68.18% kobo/apps/stripe/utils/limit_enforcement.py
40
42.5
-50.0% kobo/apps/trash_bin/tasks/attachment.py
61
29.79
-64.89% kobo/apps/stripe/utils/billing_dates.py
85
0.0
-97.7% kobo/apps/stripe/serializers.py
86
26.5
-73.5% kobo/apps/stripe/utils/subscription_limits.py
111
0.0
-90.98% kobo/apps/stripe/models.py
170
0.0
-94.97% kobo/apps/stripe/views.py
Jobs
ID Job ID Ran Files Coverage
1 19242097076.1 10 Nov 2025 07:08PM UTC 876
78.92
2 19242097076.2 10 Nov 2025 07:11PM UTC 878
81.28
Source Files on build 19242097076
  • Tree
  • List 878
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • c059624a on github
  • Prev Build on release/2.025.43 (#19235958746)
  • Next Build on release/2.025.43 (#19269564806)
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