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

kobotoolbox / kpi / 17293516295
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-1452-new_action
DEFAULT BRANCH: master
Ran 28 Aug 2025 11:22AM UTC
Jobs 2
Files 860
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

28 Aug 2025 10:46AM UTC coverage: 81.076% (-0.009%) from 81.085%
17293516295

push

github

web-flow
refactor(frontend): generate API react-query helpers with Orval DEV-893 (#6083)

### 💭 Notes

Generate react-query helpers from API with Orval. By it's own does
nothing. See these few refactors, the rest is for now unused generated
files:
- `jsapp/js/api.ts`
- `package.json`
- `package-lock.json`

Configuration is split across these files:
- `orval.config.js`
- `jsapp/js/api/orval.mutator.ts`
- `jsapp/js/api/orval.operationName.ts`
- `scripts/generate_api.sh`
- `.github/workflows/openapi.yml`

See other refactor PRs that use these helpers to call API:
- #6090

### 👀 Preview steps

1. run kobo-install locally
2. `./run.py -cf run --rm kpi ./scripts/generate_api.sh` to re-generate
helpers
3. notice that helpers are regenerated
4. click around so that some APIs are called the old way
5. notice that it still works and the refactors didn't break anything

6898 of 10893 branches covered (63.33%)

26609 of 32820 relevant lines covered (81.08%)

1.6 hits per line

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
-18.18% 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
14
86.19
-2.72% kobo/apps/openrosa/libs/utils/logger_tools.py
15
0.0
-100.0% kobo/apps/stripe/tasks.py
19
0.0
-65.52% kobo/apps/stripe/admin.py
23
0.0
-92.0% kobo/apps/stripe/signals.py
24
75.49
-23.53% kpi/utils/usage_calculator.py
25
47.89
-33.8% kobo/apps/mass_emails/user_queries.py
26
27.78
-72.22% kobo/apps/stripe/utils/limit_enforcement.py
27
57.97
-37.68% kobo/apps/trackers/utils.py
40
42.5
-50.0% kobo/apps/trash_bin/tasks/attachment.py
64
0.0
-98.46% kobo/apps/stripe/serializers.py
64
21.43
-76.19% kobo/apps/stripe/utils/billing_dates.py
86
26.5
-73.5% kobo/apps/stripe/utils/subscription_limits.py
111
0.0
-90.98% kobo/apps/stripe/models.py
154
0.0
-95.65% kobo/apps/stripe/views.py
Jobs
ID Job ID Ran Files Coverage
1 17293516295.1 28 Aug 2025 11:22AM UTC 860
78.76
2 17293516295.2 28 Aug 2025 11:31AM UTC 860
81.06
Source Files on build 17293516295
  • Tree
  • List 860
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • aa3b6a4f on github
  • Prev Build on main (#17240559791)
  • Next Build on main (#17297118727)
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

© 2025 Coveralls, Inc