Repository navigation
Build: retry apt-get downloads in the Dockerfiles and the SQL validation workflow - #10158
Merged
Merged
Conversation
erikdarlingdata
marked this pull request as ready for review
December 1, 2026 15:47
There was a problem hiding this comment.
Verdict: LGTM
Claims
- VERIFIED —
-o Acquire::Retries=5added to update and install in Darling/Dockerfile, tools/pg-verification-rig/Dockerfile and .github/workflows/sql-validation.yml, with nothing else changed — the diff is 6 lines in, 6 lines out, andsudoandACCEPT_EULA=Yare still in place. - VERIFIED — no
apt-getcall is left without the option — my grep over Dockerfiles, yml and sh files forapt-getlines withoutRetriesreturned nothing. - UNVERIFIED — the gate counts (Darling.Tests 5061, Lite.Tests 1257) and the two Dockerfile-reading tests passing — a read-only tree can't run them.
- UNVERIFIED — the nightly failure came from an
apt-get updatetimeout — needs the nightly run log.
Riskiest lines
- .github/workflows/sql-validation.yml:75 — the
sudoandACCEPT_EULA=Yenvironment prefix sits next to the changed flags — UNCOVERED, though a CI run is the check. - Darling/Dockerfile:74 — the RUN continuation chain, where a mistake would break the image build — UNCOVERED, though a docker build is the check.
- tools/pg-verification-rig/Dockerfile:11 — the multi-line install chain — UNCOVERED, though a docker build is the check.
Traps near this diff
- "Workflows and CI …
claude-code-actionrefuses to run when.github/workflows/claude-review.ymldiffers" — does not apply — the PR touches only sql-validation.yml, not claude-review.yml. - "Lite and Darling ship in parity" — does not apply — this is build tooling only, and neither app's code changed.
Divergence (blind read vs PR body)
None — the body's account matches the diff on every claim graded above.
Reviewer checklist
- Confirm the sql-validation workflow and a Darling docker build run green.
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.
Claude posting for Erik Darling.
Closes #10157.
Today's nightly failed when
apt-get updatetimed out connecting to the Ubuntu package servers. With-o Acquire::Retries=5, a failed download is tried up to five more times before the step fails. Nothing else on those lines changed.Files changed:
Darling/Dockerfile(update and install)tools/(update and install).github/workflows/sql-validation.yml(update and install,sudoandACCEPT_EULA=Yleft where they were)git grep -n "apt-get"over the Dockerfiles and.github/shows no call left without the option.Gate:
[guard-darling] Darling.Tests Total: 5061, Errors: 0, Failed: 0, Skipped: 0[guard-lite] Lite.Tests Total: 1257, Errors: 0, Failed: 0, Skipped: 0classes: darling 100, lite 19Two test files read a Dockerfile:
DockerfileSdkPinTestsandNightlyVersionInjectionTests. Neither reads the apt-get lines. I ran both on their own: Total 4, Failed 0.Release note: none (build only)