Make upgrades transactional with migration and rollback
Provide a one-command upgrade workflow that validates and migrates legacy presets, patches, endpoints, and user-layer files, while warning about incompatibilities and snapshotting all affected data. Automatically restore the previous state if installation, migration, validation, or startup fails so upgrades cannot leave the deployment unusable.
Explore challenge
The problem
Provide a one-command upgrade workflow that validates and migrates legacy presets, patches, endpoints, and user-layer files, while warning about incompatibilities and snapshotting all affected data. Automatically restore the previous state if installation, migration, validation, or startup fails so upgrades cannot leave the deployment unusable.
Start with these discussions
- Make the upgrade path one command: 0.1.5-rc.1 to 0.1.7-rc.1 dropped a legacy preset and left both versions unbootablegithub · ▲1 · 0 comments
- 升级路径的三个静默杀手:用户层文件能把 boot 和回滚一起杀掉(0.1.5-rc.1 → 0.1.7-rc.1 实测)github · ▲1 · 0 comments