{{ message }}
meta: retry image pulls in the database start scripts - #18340
Draft
WikiRik wants to merge 2 commits into
Draft
Conversation
Docker Hub occasionally answers an image pull with "500 Internal Server Error", which fails the CI job within seconds of the start step beginning. Recent examples: mariadb oldest (Node 22) on #18327 and mysql oldest (Node 20) on #18337. Pull the compose project's images explicitly before `up -d`, retrying up to three times with a growing delay, so a transient registry error no longer fails the whole job. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Contributor
This was referenced Sep 4, 2026
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Pull Request Checklist
yarn testoryarn test-DIALECTpass with this change (including linting)?Description Of Change
Docker Hub occasionally answers an image pull with
500 Internal Server Error, which fails the CI job within seconds of the start step beginning. Two recent examples:mariadb-oldest Error received unexpected HTTP status: 500 Internal Server ErrorHead "https://registry-1.docker.io/v2/library/mysql/manifests/8.0.19": received unexpected HTTP status: 500 Internal Server ErrorThis is not dialect-specific, so this PR covers every dialect's start script in one go rather than one PR per dialect.
Changes
dev/pull-images.sh: pulls a compose project's images, retrying up to 3 times (override withPULL_ATTEMPTS) with a 15s/30s delay between attempts.dev/*/{oldest,latest}/start.shcalls it beforedocker compose up -d, soupfinds the images already present.Verification
PULL_ATTEMPTS=2Note: this touches the same
start.shfiles as #18339 (oracle) and the db2 PR, so expect a trivial merge conflict in whichever lands last.🤖 Generated with Claude Code