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

When cosmic-comp restarts, shell apps sometimes don't restart properly #13

Open
wash2 opened this issue Jan 24, 2023 · 3 comments
Open

Comments

@wash2
Copy link
Contributor

wash2 commented Jan 24, 2023

No description provided.

@wash2
Copy link
Contributor Author

wash2 commented Mar 14, 2023

Ahh I've just seen what I think is the same issue again at the start of cosmic-session. Most shell components fail several times until they go over the retry limit because they fail to connect to cosmic-comp
WARN cosmic-launcher: cosmic_session: thread 'main' panicked at 'Failed to initialize the event loop: NoCompositor

@Drakulix
Copy link
Member

Yeah for the compositor we essentially need to wait for it to become available and then force another restart of the other components. Not sure if launch-pad has the infrastructure to allow us to special-case this yet.

@ids1024
Copy link
Member

ids1024 commented Mar 14, 2023

We also probably want to remove the hard limit on the number of retries. It would eventually restart correctly with maybe exponential backoff in restart rate, plus a random factor. (Don't want to be constantly restarting things, or restarting everything in lockstep.)

But this specific case should be handled explicitly too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants