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

kobotoolbox / kpi / 39782786645
86%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-3369-delete-trash-periodic-tasks
DEFAULT BRANCH: master
Ran 22 Oct 2026 01:02PM UTC
Jobs 10
Files 930
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

22 Oct 2026 12:58PM UTC coverage: 83.511% (-0.005%) from 83.516%
39782786645

push

github

web-flow
revert(auth): drop account switching through login DEV-3128 (#7720)

### đŸ“Ŗ Summary
Logging in while already logged in is refused again: to use another
account, log out first.

### 💭 Notes
Product decided against switching accounts through the login form, so
this reverts the backend half from DEV-3065 (#7682) before anything in
the UI could reach it.

Changes here:
- `kobo/apps/accounts/views.py`, `kobo/urls.py` - removed
`HeadlessLoginView`, so allauth's own login endpoint answers 409 again
when a session exists
- `test_headless_login.py` - dropped the switching tests and added one
that pins the 409 and checks the current session survives

### 👀 Preview steps
1. â„šī¸ have two accounts, A and B, and two tabs open on
`/#/auth/login?ff_authRedesignEnabled=true`
2. in tab 1, log in as A
3. in tab 2, without refreshing, log in as B
4. 🔴 [on main] notice you are now B
5. đŸŸĸ [on PR] notice "You are already logged in", and that you're still A

10717 of 14050 branches covered (76.28%)

34110 of 40845 relevant lines covered (83.51%)

5.51 hits per line

Coverage Regressions

Lines Coverage ∆ File
93
42.11
-48.95% kobo/apps/openrosa/apps/api/viewsets/xform_list_api.py
83
45.68
-9.82% kobo/apps/openrosa/libs/utils/logger_tools.py
63
33.96
-59.43% kobo/apps/openrosa/apps/api/viewsets/briefcase_api.py
56
48.31
-47.46% kobo/apps/openrosa/apps/api/viewsets/xform_submission_api.py
52
57.0
7.0% kpi/utils/xml.py
37
51.22
-45.12% kobo/apps/openrosa/libs/serializers/xform_serializer.py
33
56.67
-36.67% kobo/apps/openrosa/libs/renderers/renderers.py
30
0.0
-75.0% kobo/apps/openrosa/apps/django_digest_backends/cache.py
27
34.0
-54.0% kobo/apps/data_collectors/authentication.py
22
47.87
4.27% kobo/apps/audit_log/models.py
20
43.9
-48.78% kobo/apps/openrosa/libs/filters.py
15
20.0
-60.0% kobo/apps/openrosa/apps/api/utils/xml.py
15
64.76
-7.62% kpi/utils/object_permission.py
14
54.03
1.61% kobo/apps/openrosa/apps/logger/signals.py
12
40.48
-7.14% kobo/apps/openrosa/apps/main/models/meta_data.py
12
52.56
-14.1% kpi/authentication.py
10
78.05
13.59% kobo/apps/openrosa/apps/logger/xform_instance_parser.py
10
55.0
0.0% kobo/apps/openrosa/libs/utils/middleware.py
8
63.57
7.86% kobo/apps/audit_log/signals.py
8
72.04
-2.37% kobo/apps/openrosa/apps/logger/models/xform.py
8
30.12
1.2% kpi/utils/storage.py
7
30.56
-6.48% kobo/apps/openrosa/apps/api/tools.py
6
31.25
-37.5% kobo/apps/openrosa/libs/utils/string.py
5
50.0
-50.0% kobo/apps/openrosa/libs/mixins/openrosa_headers_mixin.py
5
69.57
-21.74% kobo/apps/openrosa/libs/permissions.py
5
40.0
-50.0% kpi/utils/fuzzy_int.py
5
69.76
27.32% kpi/utils/mongo_helper.py
4
75.38
3.59% kobo/apps/openrosa/apps/logger/models/instance.py
4
41.94
-12.9% kobo/apps/openrosa/libs/authentication.py
4
0.0
-100.0% kobo/apps/openrosa/libs/utils/storage.py
3
57.26
-2.42% kobo/apps/openrosa/apps/logger/models/attachment.py
3
60.0
-30.0% kobo/apps/openrosa/libs/serializers/data_serializer.py
3
60.0
-30.0% kpi/mixins/mfa.py
2
66.67
-13.33% kobo/apps/openrosa/apps/viewer/signals.py
2
27.78
-5.56% kobo/apps/openrosa/libs/utils/decorators.py
1
75.0
-25.0% kobo/apps/audit_log/mixins.py
1
92.86
32.14% kobo/apps/audit_log/utils.py
1
83.05
-1.69% kobo/apps/openrosa/apps/logger/exceptions.py
1
46.1
0.37% kobo/apps/openrosa/apps/viewer/models/data_dictionary.py
1
91.48
38.33% kpi/models/asset.py
1
52.97
9.59% kpi/renderers.py
1
75.0
-6.25% kpi/utils/drf_exceptions.py
Jobs
ID Job ID Ran Files Coverage
1 39782786645.1 22 Oct 2026 01:02PM UTC 925
52.83
2 39782786645.2 22 Oct 2026 01:03PM UTC 925
43.47
3 39782786645.3 22 Oct 2026 01:04PM UTC 925
49.23
4 39782786645.4 22 Oct 2026 01:06PM UTC 927
44.74
5 39782786645.5 22 Oct 2026 01:06PM UTC 927
50.47
6 39782786645.6 22 Oct 2026 01:08PM UTC 928
68.66
7 39782786645.7 22 Oct 2026 01:10PM UTC 925
58.22
8 39782786645.8 22 Oct 2026 01:26PM UTC 927
54.05
9 39782786645.9 22 Oct 2026 01:34PM UTC 927
59.28
10 39782786645.10 22 Oct 2026 01:58PM UTC 930
71.07
Source Files on build 39782786645
  • Tree
  • List 930
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 35a44c01 on github
  • Prev Build on main (#39765687716)
  • Next Build on main (#39788273502)
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