Upgrades have chances of failures incase the data migration has not been configured properly. We make a release when all the changes are pushed to IC. Right now upgrades are tested locally. We need a mechanism to test this upgrades in the pipeline.
Suggested Solution
Pick the previous deployed wasms from github release. Install that using pocket ic . Run workflows like adding posts betting on a post, token creation and then test upgrading the canister.
This test would ensure that upgrades for canisters would run fine when deployed on IC
Motivation
Upgrades have chances of failures incase the data migration has not been configured properly. We make a release when all the changes are pushed to IC. Right now upgrades are tested locally. We need a mechanism to test this upgrades in the pipeline.
Suggested Solution
Pick the previous deployed wasms from github release. Install that using pocket ic . Run workflows like adding posts betting on a post, token creation and then test upgrading the canister.
This test would ensure that upgrades for canisters would run fine when deployed on IC