Skip to content

fix: use exponential backoff when retrying docker compose pull#7048

Merged
rochdev merged 1 commit into
mainfrom
rochdev/fix-docker-hub-pull-retry
Jun 1, 2026
Merged

fix: use exponential backoff when retrying docker compose pull#7048
rochdev merged 1 commit into
mainfrom
rochdev/fix-docker-hub-pull-retry

Conversation

@rochdev
Copy link
Copy Markdown
Member

@rochdev rochdev commented May 29, 2026

Summary

  • Docker Hub's auth endpoint (auth.docker.io) occasionally times out from GitHub Actions runners, causing docker compose pull to fail
  • Increases max retry attempts from 3 to 5
  • Replaces flat 10s wait with exponential backoff: 30s → 60s → 120s → 240s

Test plan

  • Verify CI passes on this PR
  • Monitor for reduced Docker Hub pull failures in tracer library CI runs

Generated by Claude Code

Docker Hub auth endpoint (auth.docker.io) occasionally times out from
GitHub Actions runners. The previous flat 10s retry was too short to
recover from transient network gaps. This increases max attempts from 3
to 5 and uses exponential backoff (30s, 60s, 120s, 240s).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

.github/actions/pull_images/action.yml                                  @DataDog/system-tests-core

@rochdev rochdev marked this pull request as ready for review May 29, 2026 20:09
@rochdev rochdev requested a review from a team as a code owner May 29, 2026 20:09
@rochdev rochdev merged commit baf4365 into main Jun 1, 2026
678 checks passed
@rochdev rochdev deleted the rochdev/fix-docker-hub-pull-retry branch June 1, 2026 14:39
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.

2 participants