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

Automatically restart on crashes #134

Open
nazar-pc opened this issue Feb 29, 2024 · 0 comments
Open

Automatically restart on crashes #134

nazar-pc opened this issue Feb 29, 2024 · 0 comments
Labels
backend Backend logic enhancement New feature or request frontend Frontend/user interface good first issue Good for newcomers ux UX-related

Comments

@nazar-pc
Copy link
Member

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.

@nazar-pc nazar-pc added enhancement New feature or request good first issue Good for newcomers ux UX-related backend Backend logic frontend Frontend/user interface labels Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend logic enhancement New feature or request frontend Frontend/user interface good first issue Good for newcomers ux UX-related
Projects
Status: Open Tasks
Development

No branches or pull requests

1 participant