Skip to content

Conversation

@8ball030
Copy link
Owner

  • 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

Copy link
Collaborator

@kevoconnell kevoconnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some things

Comment on lines 26 to 29
TENDERMINT_RESET_TIMEOUT = 10
TENDERMINT_RESET_ENDPOINT = "http://localhost:8080/hard_reset"
TENDERMINT_RESET_RETRIES = 20

Copy link
Collaborator

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

Comment on lines 32 to 36
def with_spinner():
"""Context manager to show spinner."""
console = rich.get_console()
with console.status("Please wait...", spinner="aesthetic"):
yield
Copy link
Collaborator

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

Comment on lines 83 to 88
) -> None:
"""Run an agent in production mode.
Example usage:
adev run prod eightballer/my_service
"""
Copy link
Collaborator

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)

Comment on lines 255 to 265
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)
Copy link
Collaborator

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

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

Successfully merging this pull request may close these issues.

3 participants