-
Notifications
You must be signed in to change notification settings - Fork 4
feat/no strict deps #513
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
base: main
Are you sure you want to change the base?
feat/no strict deps #513
Conversation
8ball030
commented
Jan 27, 2025
- feat/moved-to-services
- refactor:moved-to-new-service
- refactor:implemented-base-class
- refactor:implemented-simple-tests
- feat:service-attempts-to-start
- feat/moved-to-services
kevoconnell
left a comment
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.
some things
| TENDERMINT_RESET_TIMEOUT = 10 | ||
| TENDERMINT_RESET_ENDPOINT = "http://localhost:8080/hard_reset" | ||
| TENDERMINT_RESET_RETRIES = 20 | ||
|
|
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.
these should be constants prob
| def with_spinner(): | ||
| """Context manager to show spinner.""" | ||
| console = rich.get_console() | ||
| with console.status("Please wait...", spinner="aesthetic"): | ||
| yield |
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.
i like this, i wonder if it could be globally accessed
| ) -> None: | ||
| """Run an agent in production mode. | ||
| Example usage: | ||
| adev run prod eightballer/my_service | ||
| """ |
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.
can we include the params in this docstring - the docs will fail if not (can also do later lol)
| self.logger.exception(f"Failed to start Tendermint: {e!s}") | ||
|
|
||
| msg = dedent(""" | ||
| Please check that: | ||
| 1. Docker is installed and running | ||
| 2. Docker compose is installed | ||
| 3. You have necessary permissions to run Docker commands | ||
| 4. The Tendermint configuration file exists and is valid | ||
| """) | ||
| self.logger.exception(msg) | ||
| sys.exit(1) |
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.
there prob should be a docker error type