-
Notifications
You must be signed in to change notification settings - Fork 359
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
Improve performance of health check and only perform it on hermes start
#1361
Conversation
hermes start
@romac the code lgtm. Couple of questions: I've tested it with a config that has to chains (cosmoshub-4 and osmosis-1). In the cosmoshub chain config I deliberately set an invalid value for the
Another question. Should the updated guide with the new command |
It's just for logging but I agree that we should clean up the log and not display the backtrace, just the error message. |
No, we currently do the guide updates in the release PR, because otherwise they show up before the feature is released. Hopefully once we have versioning we'll be able to do the guide updates in the PR directly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. The output of the logs can be improved but I think they are not blockers.
…art` (informalsystems#1361) * Initial implementation logic for the health-check command (informalsystems#1336) * Move health check code in `Chain::health_check` * Perform health check on supervisor start * Improve output of `health-check` command * Use the `/consensus_params` endpoint to get the max block size * Update comment * Display non-debug chain id in health check command * Use `latest_consensus_params` endpoint * Revert to using tendermint-rs master * Add .changelog entry * Remove stacktrace from health check logs Co-authored-by: Andy Nogueira <me@andynogueira.dev> Co-authored-by: Romain Ruetschi <romain@informal.systems>
Closes: #1336
Description
This PR also adds a
health-check
command:For contributor use:
unclog
.docs/
) and code comments.Files changed
in the Github PR explorer.