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

kobotoolbox / kpi / 29418843892
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: leszek/dev-1406-bulk-job-alert-nlp-view
DEFAULT BRANCH: master
Ran 15 Jul 2026 01:25PM UTC
Jobs 10
Files 894
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

15 Jul 2026 01:21PM UTC coverage: 81.699% (+0.2%) from 81.514%
29418843892

push

github

web-flow
fix(longRunningMigrations): convert legacy googlets to automatic_google_transcription in LRM 0024 DEV-2094 (#7228)

### πŸ“£ Summary

Fixes a background data upgrade so that older automatic-transcription
results are carried into the current format instead of stopping the
upgrade for an entire server.

### πŸ“– Description

The background task that upgrades legacy qualitative-analysis / NLP data
stopped with an error on some servers when a project still referenced a
pre-migration transcription result. It now converts those legacy results
into the current format and finishes the upgrade.

### πŸ’­ Notes

Two public servers failed for two confirmed causes (read from the
`error` column via admin):

- **`KeyError: 'googlets'`** β€” a supplement still carried the legacy
action ID `googlets` (old automatic Google transcription). **Fixed
here:** before the qpath→xpath rewrite, any question still holding a
legacy action ID is run through the canonical
`migrate_submission_supplementals` converter, one question at a time. A
bare `googlets` (no `transcript` for the converter to rebuild from β€” a
valid "auto-transcribed, never manually transcribed" state) is rebuilt
into `automatic_google_transcription` using the converter's own helpers,
so the transcription is preserved, not dropped.
- **`'Asset' object has no attribute 'get_attachment_xpaths'`** β€”
**already fixed on `main`** by 3174cc0e0. No code change needed; it just
needs to re-run.

`0029_restart_failed_lrm_0024` resets the failed migration
`failed`β†’`created` on deploy so the corrected job re-runs on both
servers.

Scope: the affected records are a bounded, frozen set (11 global + 3 EU,
untouched since before 0023). Verified in-container: 3 tests (bare
`googlets`, `googlets`+`transcript`, qpath happy-path) green; existing
LRM suite green; `makemigrations --check` and `darker --check` clean.

### πŸ‘€ Preview steps

Background data migration; verified via tests, no UI.

1. ℹ️ a `SubmissionSupplement` whose content has a leg... (continued)

9411 of 12714 branches covered (74.02%)

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

324 existing lines in 20 files now uncovered.

30513 of 37348 relevant lines covered (81.7%)

5.52 hits per line

Uncovered Changes

Lines Coverage βˆ† File
28
0.0
0.0% kobo/apps/long_running_migrations/jobs/0024_migrate_submission_supplement_qpaths.py

Coverage Regressions

Lines Coverage βˆ† File
63
32.52
-51.22% kobo/apps/accounts/forms.py
41
45.06
-9.43% kobo/apps/audit_log/models.py
38
34.52
-45.24% kobo/apps/audit_log/base_views.py
27
0.0
-72.97% kobo/apps/accounts/adapter.py
24
75.73
-22.33% kpi/utils/usage_calculator.py
20
52.38
-31.75% hub/models/extra_user_detail.py
20
0.0
-68.97% kobo/apps/audit_log/tasks.py
17
46.99
-10.24% kobo/apps/organizations/views.py
16
60.0
-11.43% kobo/apps/audit_log/signals.py
13
37.14
-18.57% hub/utils/i18n.py
10
60.71
-35.71% kobo/apps/audit_log/utils.py
7
70.42
-9.86% kobo/apps/project_ownership/models/invite.py
6
43.75
-37.5% kobo/apps/project_ownership/filters.py
5
30.0
-7.14% kobo/apps/organizations/permissions.py
5
47.22
-13.89% kobo/apps/organizations/tasks.py
4
53.85
-30.77% kobo/apps/accounts/templatetags/customize_email_content.py
3
65.79
-7.89% kobo/apps/data_collectors/signals.py
3
0.0
0.0% kobo/apps/long_running_migrations/jobs/0024_migrate_submission_supplement_qpaths.py
1
44.44
-5.56% kobo/apps/accounts/templatetags/get_provider_appname.py
1
72.73
-4.55% kpi/urls/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 29418843892.1 15 Jul 2026 01:25PM UTC 890
44.39
2 29418843892.2 15 Jul 2026 01:26PM UTC 890
49.53
3 29418843892.3 15 Jul 2026 01:27PM UTC 890
59.18
4 29418843892.4 15 Jul 2026 01:27PM UTC 890
52.94
5 29418843892.5 15 Jul 2026 01:28PM UTC 892
66.9
6 29418843892.6 15 Jul 2026 01:29PM UTC 892
54.2
7 29418843892.7 15 Jul 2026 01:29PM UTC 892
50.86
8 29418843892.8 15 Jul 2026 01:30PM UTC 892
45.75
9 29418843892.9 15 Jul 2026 01:31PM UTC 892
60.34
10 29418843892.10 15 Jul 2026 01:31PM UTC 894
69.2
Source Files on build 29418843892
  • Tree
  • List 894
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage βˆ† File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 02306a3c on github
  • Prev Build on main (#29409608300)
  • Next Build on main (#29432266085)
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