-
Notifications
You must be signed in to change notification settings - Fork 51
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
Fail fast during sourced initialization if a component breaks #147
Comments
I'd say that the process should fail if any of the source{d} CE components is not |
a normal
If any component (not being I'm not sure if there is a clean way to proceed in the examples above. |
Ideally, I'd say that I'd give to each component a maximum number of possible restarts and/or amount of time before considering it as But I also don't mind displaying the status as an initial step to have better monitoring. WDYT? |
Why not treat a container that is restarting directly as a failure? If it's restarting right after we initialize it, before the user has a change to interact, something is very likely broken and we should tell the user so he can inspect the logs, or |
then... are we superseding
Or are we only checking the status of the started components until
|
I have the same concerns. If we decide to fail fast when a container is restarting, we're ignoring the WRT |
But what are we planning to do exactly by "fail fast"? If we are talking about killing all the containers and exit, yes it can be risky to be too aggressive and consider anything a failure. But fail fast could also be just stopping the spinner, exit |
Your proposal about killing |
Agree! Yup, I implicitly thought that we were talking about killing the containers, but you're right, that's too aggressive and unnecessary. I like the proposal of just exiting from |
If a component fails during source{d} CE initialization (before opening the browser, during the spinner spins), the process should fail
The text was updated successfully, but these errors were encountered: