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

fix(Runtime): Wait for container to start up #7548

Merged
merged 3 commits into from
Mar 27, 2025

Conversation

happyherp
Copy link
Contributor

  • This change is worth documenting at https://docs.all-hands.dev/
  • Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

End-user friendly description of the problem this fixes or functionality that this introduces.

Fixed a bug where we would not wait for a runtime docker container to be started and instead fail.


Give a summary of what the PR does, explaining any non-trivial design decisions.

While waiting for the container to be ready DockerRuntime._wait_until_alive(), fails because the function self.check_if_alive() itself throws a RetryError which contains a httpx.RemoteProtocolError. Before this retry error stopped the process. Now it continues, until _wait_until_alive has no more retries.


Link of any specific issues this addresses.
#7540

Copy link
Collaborator

@tofarr tofarr left a comment

Choose a reason for hiding this comment

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

🍰 Good Catch!

@tofarr tofarr merged commit a0c79f7 into All-Hands-AI:main Mar 27, 2025
13 checks passed
Tetsu-is pushed a commit to Tetsu-is/OpenHands that referenced this pull request Apr 4, 2025
Tetsu-is added a commit to Tetsu-is/OpenHands that referenced this pull request Apr 4, 2025
Tetsu-is pushed a commit to Tetsu-is/OpenHands that referenced this pull request Apr 4, 2025
Tetsu-is pushed a commit to Tetsu-is/OpenHands that referenced this pull request Apr 4, 2025
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