Skip to content

upgrade: Calculate correct upgrade interrupt versions

Warren Gifford requested to merge ef/correct-interrupts into main

Created by: efritz

The previous version of this method returned interrupts at the version at which the oobmigration is deprecated. This is actually an off-by-one error. The deprecated version is the first version at which the migration does NOT run, so we should actually be breaking the upgrades one version earlier.

This PR adjusts the selected interrupt points and associated tests. We also flip the oobmigration/schema migrations ordering in the upgrade command to perform operations in the correct order as well.

Test plan

Tested locally, updated unit tests.

Merge request reports

Loading