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

kobotoolbox / kpi / 41891048467
86%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 04 Nov 2026 06:56PM UTC
Jobs 10
Files 890
Run time 1min
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

04 Nov 2026 06:50PM UTC coverage: 85.72% (-0.004%) from 85.724%
41891048467

push

github

web-flow
chore(deps): Upgrade orval to 8.46 DEV-3248 (#7809)

### 💭 Notes

Upgrades orval to v8.46 due to security advisories on earlier versions.
The diff is, not surprisingly, enormous. Don't bother looking at it all
at once.

**How to review.** Go commit by commit. Only three commits contain
hand-written changes:

1. `fix(openapi): fix invalid schema output…` – **review** (backend, 4
files). Fixes spec bugs that orval v8's stricter validator rejects.
2. `chore(openapi): regenerate OpenAPI schemas` – skim. The diff
contains only the output of the fixes in commit 1.
3. `build(frontend): upgrade orval to v8.46` – **review** everything
except `package-lock.json`: the config and post-processing script
changes.
4. `chore(frontend): regenerate orval output` – skip (~1,175 files). The
CI `orval` job checks that it matches what the config generates.
5. `refactor(frontend): rename MSW mock helpers…` – skim. Script-made
rename, nothing else.
6. `fix(frontend): handle optional PATCH bodies…` – **review** (3
files).

**Why 8.46 and not 8.22.** 8.22.0 is the lowest version that fixes all
the advisories. But for our spec it generates allauth imports from model
files that don't exist, which caused ~60 type errors in the generated
code. Later 8.x releases fix that.

**Why backend changes.** v8 validates the spec with Scalar, which turns
v7's warnings into hard errors. It found four real spec bugs, each
explained in the commit 1 message. They're also visible in the Swagger
UI (see preview steps).

**Behavior changes in generated code worth knowing:**
- **Query `enabled` checks:** generated query hooks now use `x !== null
&& x !== undefined` instead of `!!x`. So `''` no longer disables a
query; it fires a request to e.g. `/api/v2/assets//`. The only literal
`?? ''` fallbacks are in `SidebarFormsList.tsx`, and they set their own
`enabled`. Watch for values that are `''` only at runtime.
- **PATCH bodies:** mutation `data` is now optional, because
drf-spectacular doesn't mark P... (continued)

10797 of 13644 branches covered (79.13%)

0 of 2 new or added lines in 1 file covered. (0.0%)

531 existing lines in 21 files now uncovered.

33790 of 39419 relevant lines covered (85.72%)

5.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
16.67
-0.48% kpi/utils/spectacular_processing.py

Coverage Regressions

Lines Coverage ∆ File
107
0.0
-92.24% kobo/apps/stripe/serializers.py
77
0.0
-37.02% kobo/apps/stripe/views.py
76
24.22
-47.2% kobo/apps/stripe/utils/subscription_limits.py
63
0.0
-51.64% kobo/apps/stripe/models.py
44
20.2
-44.44% kobo/apps/stripe/utils/billing_dates.py
40
66.93
-31.5% kpi/utils/usage_calculator.py
25
0.0
-34.25% kobo/apps/stripe/signals.py
19
0.0
-65.52% kobo/apps/stripe/admin.py
17
33.33
-31.48% kobo/apps/stripe/utils/limit_enforcement.py
12
35.0
-60.0% kobo/apps/stripe/utils/import_management.py
9
0.0
-29.03% kobo/apps/stripe/utils/manual_subscription.py
8
0.0
-100.0% kobo/apps/stripe/urls.py
7
0.0
-100.0% kobo/apps/stripe/apps.py
6
60.11
-3.19% kobo/apps/organizations/models.py
6
0.0
-100.0% kobo/apps/stripe/exceptions.py
6
0.0
-37.5% kobo/apps/stripe/utils/view_utils.py
3
31.43
-2.86% kobo/apps/organizations/admin/organization.py
3
60.53
-7.89% kobo/apps/organizations/utils.py
1
48.3
-0.16% kobo/apps/openrosa/libs/utils/logger_tools.py
1
76.27
-1.69% kobo/apps/user_reports/utils/migrations.py
1
72.0
-4.0% kpi/urls/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 41891048467.1 04 Nov 2026 06:56PM UTC 885
54.31
2 41891048467.2 04 Nov 2026 06:56PM UTC 885
49.85
3 41891048467.3 04 Nov 2026 06:56PM UTC 887
55.65
4 41891048467.4 04 Nov 2026 06:57PM UTC 885
57.0
5 41891048467.5 04 Nov 2026 06:57PM UTC 885
59.43
6 41891048467.6 04 Nov 2026 06:58PM UTC 887
51.23
7 41891048467.7 04 Nov 2026 06:58PM UTC 888
66.27
8 41891048467.8 04 Nov 2026 06:59PM UTC 887
60.61
9 41891048467.9 04 Nov 2026 07:02PM UTC 890
68.81
10 41891048467.10 04 Nov 2026 07:34PM UTC 887
58.62
Source Files on build 41891048467
  • Tree
  • List 890
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • a7ecca2a on github
  • Prev Build on main (#41868854834)
  • Next Build on main (#42027256228)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc