ADR-3554: Tester Image runs on light-tier pull requests that change the image's own inputs¶
- Status: Accepted
- Date: 2026-11-16
- Deciders: lusoris
- Tags:
ci,build,docker,release,supply-chain,testing
Context¶
Renovate pull request #3476 (e36e898c5) updated the python:3.14-slim digest (RELEASE_PYTHON_BASE) in build-config.env and every Dockerfile that mirrors it, including docker/Dockerfile.tester and Dockerfile.go-server. The new digest ships CPython 3.14.10, whereas tools/rc1-tester/image/licensing.json recorded cpython_license_rst entries only for 3.13.16, 3.14.7 and 3.14.8, and pinned python.version 3.14.8 on artifacts.image and artifacts.production-server-image. Every master push after #3476 failed in Publish Tester Image (x86_64 reference scores and Tester Image) at the licence-texts stage (docker/Dockerfile.tester line 139, tools/rc1-tester/image/licensing.py fetch_texts): licensing: no cpython_license_rst entry for Python 3.14.10.
Pull request #3476 passed all required checks and automerged because Renovate pull requests run the light CI tier (ADR-2169):
Tester Imagewas afull_onlycontext of.github/ci-tier.jsonwith noown_input_lanesentry, and.github/workflows/docker-publish-tester.ymlgated bothimpactandtester-imageonneeds.tier.outputs.full == 'true', so no pull-request build ofdocker/Dockerfile.testerran even though selectortester_imageof.github/ci-impact.jsonalready ownedbuild-config.envanddocker/Dockerfile.tester.- In
.github/workflows/required-aggregator.yml,delayedMissingfilteredmissing(which already excludednotOwed, derived fromCI_TIER_FULL_ONLY). Becauseown_input_lanescontexts remain inCI_TIER_FULL_ONLYand GitHub Actions creates a dependent gate's check run only after itsneedswork jobs finish, a light-tier pull request whose fast checks finish whilex86_64 reference scoresorBuild and test (amd64)is still running would exit the poll loop beforeTester Imageregistered and pass the aggregator.
Decision¶
- Record Python 3.14.10 in
tools/rc1-tester/image/licensing.json. Add"3.14.10"tocpython_license_rst(https://raw.githubusercontent.com/python/cpython/v3.14.10/Doc/license.rst, SHA-2568a7329b25131f64b2bea284155f0824876b1af9f4a2f970e6335751d97dfa6dd), keep the 3.13.16, 3.14.7 and 3.14.8 entries, and bumppython.versionto"3.14.10"onartifacts.imageandartifacts.production-server-image. Leavepublished-rc-server-imageat"3.14.7", which records an already-published image. Tester Imagebecomes the fourth own-input lane of.github/ci-tier.json(ADR-2198, ADR-3279, ADR-3338), bound to the existingown_paths_onlyselectortester_imageof.github/ci-impact.json:- In
.github/workflows/docker-publish-tester.yml,impactand thetester-imagegate run onneeds.tier.outputs.light == 'true'. Becausetester_imageis alreadyown_paths_onlyand serves both tiers,impactexportssteps.impact.outputs.tester_imagedirectly aswindows-tester-bundle.ymldoes; an unselected run emits a skip notice ontester-imageand reportssuccess. validate,refs-x86andbuild(narrowed toamd64on pull requests) stay gated onneeds.impact.outputs.selected == 'true'.build-gpu,publishandpublish-gpustay off pull requests.- A release pull request without
autorelease: cut(release-light) keepsoutputs.light == 'false', so the lane stays idle there. - Hold the aggregator while an own-input lane's work jobs run. In
.github/workflows/required-aggregator.yml,delayedMissingchecks every non-exempt required context whosedelayedStrictDependenciesjobs are active or withinregistrationPropagationMs(ignoring'skipped'dependencies onnotOwedcontexts so genuinely full-only skipped lanes add no wait). WhenTester Image(orDev Container BuildorWindows Tester Zip) builds on a light-tier pull request, the aggregator waits until the gate check run registers and fails if it does not succeed.
Alternatives considered¶
| Option | Pros | Cons | Why not chosen |
|---|---|---|---|
Tester Image as an own-input lane on tester_image (chosen) | Exercises docker/Dockerfile.tester and its licensing.py stages on light-tier pull requests that touch build-config.env, Dockerfile.tester or tools/rc1-tester/**; zero build on unrelated light pull requests; Renovate automerge settings stay unchanged | Adds an amd64 tester image build to light-tier pull requests that touch tester_image inputs; arm64, GPU images and copied core//python/ sources remain covered by master pushes and the nightly schedule (ADR-1701) | Matches the measured failure class of #3476 at bounded runner cost |
| Run the full tier on Renovate Docker digest pull requests | Exercises every container and platform lane before merge | Runs the 30+ leg C/C++, MSVC, macOS, GPU, sanitizer and FFmpeg build suite on container-only digest bumps, restoring the queue load ADR-2169 removed | Disproportionate runner cost for a container-input failure class |
Static check comparing build-config.env with licensing.json | Instant, offline, zero container build | RELEASE_PYTHON_BASE pins the floating minor tag python:3.14-slim@sha256:...; neither build-config.env nor the Dockerfile text contains the patch version (3.14.10) that the digest resolves to inside the image | Cannot observe platform.python_version() of a digest-pinned floating tag without pulling and running the image |
Add Release Dry Run images as a second own-input lane | Also builds docker/Dockerfile.production, Dockerfile.operator, Dockerfile.go-server and Dockerfile.node on light-tier digest PRs | Tester Image already builds RELEASE_PYTHON_BASE against the same cpython_license_rst table in licensing.json when build-config.env changes, while Release Dry Run fans out across five CPU/server/operator/node images, three GPU toolkit images, wheels and MCP builds | Duplicate coverage of the Python base-image licence check at several times the runner cost; kept on the full tier and weekly schedule |
Consequences¶
- Positive: any light-tier pull request (Renovate included) that updates
build-config.env,docker/Dockerfile.tester,tools/rc1-tester/**or anothertester_imageinput builds and runs the amd64 tester image (includinglicence-texts,noticesandlicence-check) before merging, and the Required Checks Aggregator waits forTester Imageto register and blocks on failure. - Negative: light-tier pull requests touching
build-config.envor othertester_imageinputs pay the amd64 tester image build time;Release Dry Run, arm64 and GPU tester images still run only on the full tier, master push or schedule. - Neutral / follow-ups:
scripts/ci/tests/test_ci_routing_contract.pypins theRENOVATElight-tier run ofimpactandTester Imageand plants moving either job back tooutputs.full;scripts/ci/tests/test_ci_impact.pypins PR #3476'sRELEASE_PYTHON_BASEdiff shape ontester_image;scripts/ci/tests/test_ci_aggregator_tier.pypins the light-tierdelayedMissingwait and plants themissing.filterregression;tools/rc1-tester/tests/test_licensing.pypins Python 3.14.10 inlicensing.json.
References¶
- Order
vmafx-master-red-python-31410, 2026-11-16, on tester image Python 3.14.10 licensing and light-tier own-input lane routing (paraphrased): record CPython 3.14.10 inlicensing.json(imageandproduction-server-image, keepingpublished-rc-server-imageat 3.14.7), addTester Imagetoown_input_lanesontester_imagewithout changing Renovate automerge settings, verify aggregator behavior on light-tier pull requests, and leaveRelease Dry Runout with its reason recorded. - Pull request #3476 (
e36e898c5), ADR-1503, ADR-1513, ADR-1687, ADR-1700, ADR-1701, ADR-2169, ADR-2198, ADR-3279, ADR-3338.