Automatically restart on crashes #134
Labels
backend
Backend logic
enhancement
New feature or request
frontend
Frontend/user interface
good first issue
Good for newcomers
ux
UX-related
Since the architecture of Space Acres is to run parent process and then spin up a child process that is an actual app (in order to support restarts, on Linux/macOS to improve logging mechanism, etc.), it is already possible to detect crashes.
What Space Acres does in case of a crash right now is to just exit parent process, but it would be more helpful to just restart an app (with backoff mechanism of course) and show a warning in the app that it crashed and user should check logs. In case of running out of memory this would result in a much better experience than just exiting everything.
NOTE: This doesn't address errors that result in soft crashes where child application doesn't technically exit.
The text was updated successfully, but these errors were encountered: