Skip to content

Add retry logic for init.py for tb healthy checking#2281

Merged
cb-github-robot merged 1 commit intocloud-barista:mainfrom
seokho-son:main
Jan 20, 2026
Merged

Add retry logic for init.py for tb healthy checking#2281
cb-github-robot merged 1 commit intocloud-barista:mainfrom
seokho-son:main

Conversation

@seokho-son
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Seokho Son <shsongist@gmail.com>
Copilot AI review requested due to automatic review settings January 20, 2026 16:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds retry logic to the Tumblebug server health check in the initialization script to make it more resilient when the server is starting up or temporarily unavailable.

Changes:

  • Added retry mechanism with up to 50 attempts and 1-second intervals for the Tumblebug server health check
  • Enhanced error messages to show attempt progress and distinguish between connection failures and non-200 status codes
  • Added a 5-second timeout to the health check HTTP request to prevent indefinite hangs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@seokho-son
Copy link
Copy Markdown
Member Author

/approve

@github-actions github-actions bot added the approved This PR is approved and will be merged soon. label Jan 20, 2026
@cb-github-robot cb-github-robot merged commit 29d112a into cloud-barista:main Jan 20, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved This PR is approved and will be merged soon.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants