Pull CI service images from mirror.gcr.io
Summary
Closes #511
Update, 23 Oct. main already has the ci.yml half of this PR, the mirror images in 51496aeed, and the bills test pin in b7f5967f7. I merged main into this branch at d88e579e, so the PR's diff is now only the four image: lines in llm-evals.yml.
Before: ci / test_system can die at "Starting postgres service container", because ECR Public refuses the anonymous pull with toomanyrequests: Data limit exceeded. No test runs. This blocks #509 and #510. llm-evals.yml pulls the same two services anonymously from Docker Hub, which codacy.yml records as refusing runner pulls, so the next v* tag's eval jobs are exposed to the same failure.
After: every CI service container comes from mirror.gcr.io/library/..., Google's mirror of the same official images, with the same tags. That is postgres:16 and redis:latest in ci.yml's test_unit and test_system (now on main), and postgres:16 and redis:7.2 in llm-evals.yml's two jobs (this PR). codacy.yml already pulls from mirror.gcr.io.
Scope and dependencies
- Issue: #511
- Parent PR/branch, if stacked: none (based on
main) - Intentionally out of scope: no retry wrapper, no pinned digests and no version pins. The tags are unchanged, so CI runs the same versions as before. Pinning would change what CI runs, so it needs its own issue if wanted.
Evidence checklist
- Each issue in this PR has its own acceptance criteria and no unrelated
issue work is included. - Contract rows touched by this change name existing tests. (n/a: CI config only)
- Any gate test has an observed failing mutation transcript attached. (n/a: the proof is this PR's own CI run)
- Fixtures used as evidence assert internal consistency. (n/a)
- Financial calculations use
BigDecimaland documented rounding points. (n/a) - De-identification uses token-shape allowlists; no personal data is
included. - Files changed, decisions, tests/runtime, risks, and next unblocked issue
are documented below.
Files changed against main: .github/workflows/llm-evals.yml (lines 84, 93, 193 and 202). Each is an image: line.
Validation
Commands and results:
- On the original
main,git grep -n "public.ecr.aws" -- .github/matched exactly the fourci.ymllines, and after the change it matches nothing.grep -rn "image:" .github/workflows/ | grep -v mirror.gcr.ioreturns nothing on this head. GET https://mirror.gcr.io/v2/library/postgres/manifests/16,.../redis/manifests/latest(2026-10-20) and.../redis/manifests/7.2(2026-10-22) each returned 200 with an OCI image index.ci.yml: every check was green at092bbe35, includingtest_unitandtest_systempulling from the mirror.llm-evals.ymlonly runs onv*tags, so this PR can't run it. The file parses as YAML, and the change is the same host swap thatci.ymlproves. The firstv*tag after merge is its live test.
Risks, blockers, and follow-up
mirror.gcr.ioonly serves images it has cached. All three tags are cached now. If one is ever evicted, the pull fails just as the ECR one does today.