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: add electrs health check to prevent CI race conditions #512

Closed

Conversation

alexanderwiederin
Copy link
Contributor

  • Add health check for electrs service in docker-compose.yml
  • Add explicit wait for service health in CI workflow
  • Prevent connection errors in tests due to services not being fully initialized

This addresses intermittent CI failures where Python tests would fail with "Connection reset by peer" errors because they ran before electrs was fully ready to accept requests.

- Add health check for electrs service in docker-compose.yml
- Add explicit wait for service health in CI workflow
- Prevent connection errors in tests due to services not being fully initialized

This addresses intermittent CI failures where Python tests would fail with
"Connection reset by peer" errors because they ran before electrs was fully
ready to accept requests.
@ldk-reviews-bot
Copy link

👋 Hi! I see this is a draft PR.
I'll wait to assign reviewers until you mark it as ready for review.
Just convert it out of draft status when you're ready for review!

@tnull
Copy link
Collaborator

tnull commented Mar 28, 2025

It's a great idea to address the flaky Python CI job. Any particular reason you ended up closing this again?

@alexanderwiederin
Copy link
Contributor Author

alexanderwiederin commented Mar 28, 2025

Sorry just saw this now. think I had a theory and wanted to test it. It didn't work out and removed the PR to not have one lingering. Reopened here #513

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