Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React to failed upgrades #60

Open
pabloyoyoista opened this issue Oct 23, 2022 · 0 comments
Open

React to failed upgrades #60

pabloyoyoista opened this issue Oct 23, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@pabloyoyoista
Copy link
Collaborator

Currently, when upgrades fail, the thing we do is print the failed transaction and roll-back the state of every app. People can then retry upgrades, which would usually fix most of the things.

However, this is suboptimal, since failures can be of different kinds:

  • Some apps failed to upgrade (connection errors, for example)
  • There was some replace error
  • Some bigger consistency or FS error in the process.
  • ...

Some of this might leave the system in a dangerous state, some might require an apk fix, and some might be totally fine, but just require a new upgrade to finish those inaccessible packages. Providing a proper message to users (e.g: run apk upgrade -a or apk fix and set the status of the packages in GS would be ideal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant