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

kobotoolbox / kpi / 17237380486
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 26 Aug 2025 12:35PM 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

26 Aug 2025 11:58AM UTC coverage: 81.094% (+0.002%) from 81.092%
17237380486

push

github

web-flow
feat(assetVersions): remove reversion version foreign key DEV-838 (#6157)

### 💭 Notes
Developer-facing change only. Removes the foreign key link from
AssetVersions to Versions, but keeps the old id around in an integer
field so we can convert version_ids to asset_version_ids in older
submissions and so we can know if we need to use the old autoname_fields
method when exporting to xls, since old asset versions may not have
names.
Deleted the old management commands instead of deprecating them on the
general principle that it's best not to leave old code lying around.
Anyone who is creating a new server shouldn't ever have need to run the
old migrations and anyone running an existing server should have already
run them. The existing migration had a noop as its reverse anyway, it
won't affect running migrations forward/backwards.


### 👀 Preview steps
To test that the migration preserves existing version_ids

1. In postgres, have at least one entry in the assetversion table where
_reversion_version_id is not null
2. Run the migrations
3. In postgres, verify the _reversion_version_id has not changed but the
foreign key relationship has been removed

6898 of 10889 branches covered (63.35%)

4 of 4 new or added lines in 2 files covered. (100.0%)

9 existing lines in 1 file now uncovered.

26607 of 32810 relevant lines covered (81.09%)

1.6 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
9
79.46
-8.04% kpi/utils/models.py
Jobs
ID Job ID Ran Files Coverage
1 17237380486.1 26 Aug 2025 12:35PM UTC 860
78.77
2 17237380486.2 26 Aug 2025 12:39PM UTC 860
81.08
Source Files on build 17237380486
  • Tree
  • List 860
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • f72749fc on github
  • Prev Build on main (#17212562496)
  • Next Build on main (#17237392259)
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