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

kobotoolbox / kpi / 17678355591 / 1
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-1453-run-external-process
DEFAULT BRANCH: master
Ran 12 Sep 2025 03:37PM UTC
Files 861
Run time 38s
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

12 Sep 2025 03:05PM UTC coverage: 78.81%. Remained the same
17678355591.1

push

github

web-flow
fix(migrations): revert _reversion_version change in historical kpi 0015 migration DEV-838 (#6239)

### 👷 Description for instance maintainers

We are phasing out django-reversion, and #6200 removed references to it
in `kpi/migrations/0015_assetversion.py`. However, by changing
`_reversion_version` to an `IntegerField` in that historical migration,
the newer `kpi/migrations/0069_alter_assetversion_reversion_version.py`
no longer generated the correct SQL to properly drop `OneToOneField` key
constraints and avoid renaming the database column. This reverts the
change to `0015` ; the django-reversion dependency will have to stay
until we can squash migrations.

### 👀 Preview steps

1. Have a local development environment with an empty database
1. Check out the `release/2.025.34` (previous release) branch
1. Run `scripts/migrate.sh`
1. Observe success
1. Check out `release/2.025.37` (the base branch for this PR)
1. Run `scripts/migrate.sh` again
1. Observe failure (`django.db.utils.ProgrammingError: column
"_reversion_version" does not exist`)
1. Check out the branch for this PR,
`revert-change-to-historical-assetversion-migration`
1. Run `scripts/migrate.sh` yet again
1. Observe success ✔️

Unit tests in CI handle migrating in one fell swoop from an empty
database to the latest database state (as opposed to pausing at the
previous release in the manual steps above).

6674 of 10887 branches covered (61.3%)

25807 of 32746 relevant lines covered (78.81%)

0.79 hits per line

Source Files on job 17678355591.1
  • Tree
  • List 861
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 17678355591
  • 5a4f20cf on github
  • Prev Job for on release/2.025.37 (#17672247033.1)
  • Next Job for on release/2.025.37 (#17733630703.1)
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