You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhancement/5235 wrap errors when marking upgrade (#9366) (#9967)
* enhancement(5235): added markUpgradeFunc to abstract markUpgrade
* enhancement(5235): using markUpgradeFunc in Upgrade function
* enhancement(5235): wrapping writeFile errors in markUpgrade
enhancement(5235): added goerrors in step_mark
* enhancement(5235): using writeFile wrapper in markUpgrade
* enhancement(5235): added tests mark upgrade tests
enhancement(5235): updated step mark test to mock writeFile
* enhancement(5235): updated markUpgrade function so that it can be tested, jecting dependencies. updated relevant tests
* enhancement(5235): updated use of markUpgrade in rollback and rollback tests
* enhancement(5235): abstracted markupgrade from upgrader, added relevant types and updated the upgrader struct. added tests case for mark upgrade error handling in the upgrade function
* enhancement(5235): added abstractions for changesymlink and rollbackInstall in upgrader, updated error handling tests to use these abstractions
* enhancement(5235): added error handling test for changesymlink
(cherry picked from commit 2e4e777)
Co-authored-by: Kaan Yalti <[email protected]>
0 commit comments