Skip to content

ci: make provider Docker pulls resilient#10198

Merged
ReubenBond merged 2 commits into
dotnet:mainfrom
ReubenBond:reubenbond/resilient-docker-pulls
Jun 10, 2026
Merged

ci: make provider Docker pulls resilient#10198
ReubenBond merged 2 commits into
dotnet:mainfrom
ReubenBond:reubenbond/resilient-docker-pulls

Conversation

@ReubenBond

@ReubenBond ReubenBond commented Jun 10, 2026

Copy link
Copy Markdown
Member

Cassandra 5.0 provider tests are failing before test execution when Testcontainers pulls images from Docker Hub and the registry request times out. One example is https://github.com/dotnet/orleans/actions/runs/27245468072/job/80458389422?pr=10197, where TestcontainersClient.PullImageAsync fails with DockerApiException for https://registry-1.docker.io/v2/ and context deadline exceeded.

This applies the existing Docker pull retry helper to Cassandra and the remaining Docker-backed provider jobs by pre-pulling Testcontainers images and replacing implicit GitHub Actions service pulls/plain docker runs with retry-based pulls followed by docker run --pull=never. Containers with Docker health checks use a shared .github/scripts/docker-wait-for-health.sh helper; containers without health checks keep explicit TCP/log readiness waits. MariaDB is covered separately by #10190, so this avoids duplicating that open PR.

ReubenBond and others added 2 commits June 9, 2026 18:02
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ReubenBond ReubenBond added this pull request to the merge queue Jun 10, 2026
Merged via the queue into dotnet:main with commit 4340a9d Jun 10, 2026
62 checks passed
@ReubenBond ReubenBond deleted the reubenbond/resilient-docker-pulls branch June 10, 2026 15:25
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.

1 participant