Open
Description
Originally posted by @gloriousCode in #1735 (comment)
TL;DR
Config Downgrade is an irrational mess
Problem
Downgrades are currently part of the usual upgrade path.
That's impossible. If the latest registered is less than the config version, there is no downgrade code available to run.
Additionally, downgrades need to stop before the target version.
Solution
- Downgrades to a version need to be run on a branch that contains the existing current version
- Downgrades should not be invoked automatically
- Upgrade and Downgrade invoked from cmd/config should not use json marshalling, which will introduce stateful representation
- Upgrading to a specific version can be supported, but we won't
brag about ithighlight it specifically as a feature
Metadata
Assignees
Type
Projects
Status
In progress