Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add retry mechanism with exponential backoff for Docker availability check #1910

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

Merged
mrrobot47 merged 5 commits into EasyEngine:develop from mrrobot47:feat/docker-check-retry
Jan 7, 2026

Conversation

@mrrobot47
Copy link
Member

@mrrobot47 mrrobot47 commented Jan 7, 2026
edited
Loading

Problem

Under heavy system load, docker ps can occasionally return exit code 1 due to transient Docker daemon/socket unresponsiveness, even when Docker is properly installed and running. This causes EasyEngine to fail with "Docker not installed or not running" error unnecessarily.

Solution

  • Added retry mechanism with exponential backoff (1s → 2s → 4s, total 7s max wait) for the Docker availability check
  • Moved debug logging (argv, config paths) to the start of Runner::start() for better debugging visibility when Docker checks fail
  • Added debug logging for retry attempts to help diagnose transient failures

Copilot AI review requested due to automatic review settings January 7, 2026 09:03
Copy link
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 resilience to the Docker availability check by implementing a retry mechanism with exponential backoff to handle transient Docker daemon failures under heavy system load. It also improves debugging by moving debug logging statements earlier in the execution flow.

Key changes:

  • Implemented retry logic with exponential backoff for the docker ps command to handle transient Docker daemon unresponsiveness
  • Relocated debug logging statements to the beginning of Runner::start() for better visibility when Docker checks fail

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

@mrrobot47 mrrobot47 merged commit 62e54d7 into EasyEngine:develop Jan 7, 2026
9 checks passed
@mrrobot47 mrrobot47 deleted the feat/docker-check-retry branch January 7, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot Copilot left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /