kaniko runs inside the job container and unpacks the image it builds over it. With one ubuntu:26.04 job container, the molecule-ubuntu2404 build (run 2529) mixed glibc 2.39 into a 2.42 userland: GLIBC_2.42 not found, and the credential cleanup step died too. The job container must be the same Ubuntu release as the image's FROM lines.
What
image.yml: every matrix entry has job_image: ubuntu:<release>@sha256:... (24.04 for molecule-ubuntu2404; 26.04 for molecule-ubuntu2604 and ci); the job container is ${{ matrix.job_image }}.
check_image_versions.py pins fails when a Dockerfile's FROM ubuntu: release differs from job_image, when a FROM is not Ubuntu or holds a variable, when job_image is missing, quoted or malformed, or when the container line is not the matrix expression directly under container:.
check_bot_pr_diff.py: a bot may change the tag and digest of job_image: lines only (same rule as the old container line).
renovate.json: a regex manager tracks job_image (never automerged: the job holds the push credential). Major ubuntu updates are disabled everywhere: a new release is a deliberate edit of the Dockerfile and job_image together, which the check enforces.
CLAUDE.md, the ci Dockerfile comment, tests (129 pass).
Review
Three read-only reviewers (scripts and guard; workflow and Renovate config; update loop and docs) found no way for a bot PR to change more than a job_image tag/digest. Their findings (unchecked non-ubuntu stages, lookalike container line, quoted job_image, stale comments) are fixed in the second commit.
Verified / not verified
Verified: hooks, 129 script tests, pins and bump on the real files; the act source interpolates matrix expressions in container.image (not run).
Not verified: the first Images run on main after the merge is the real test (that run builds molecule-ubuntu2404 0.1.2 on 24.04, and molecule-ubuntu2604 0.1.0 if #37's build did not already publish it). Renovate's regex manager and ubuntu versioning have not run.
Not fixed: a pin-only PR for the molecule image still merges without molecule having run on it.
## Why
kaniko runs inside the job container and unpacks the image it builds over it. With one `ubuntu:26.04` job container, the `molecule-ubuntu2404` build (run 2529) mixed glibc 2.39 into a 2.42 userland: `GLIBC_2.42 not found`, and the credential cleanup step died too. The job container must be the same Ubuntu release as the image's `FROM` lines.
## What
- `image.yml`: every matrix entry has `job_image: ubuntu:<release>@sha256:...` (24.04 for `molecule-ubuntu2404`; 26.04 for `molecule-ubuntu2604` and `ci`); the job container is `${{ matrix.job_image }}`.
- `check_image_versions.py pins` fails when a Dockerfile's `FROM ubuntu:` release differs from `job_image`, when a `FROM` is not Ubuntu or holds a variable, when `job_image` is missing, quoted or malformed, or when the container line is not the matrix expression directly under `container:`.
- `check_bot_pr_diff.py`: a bot may change the tag and digest of `job_image:` lines only (same rule as the old container line).
- `renovate.json`: a regex manager tracks `job_image` (never automerged: the job holds the push credential). Major `ubuntu` updates are disabled everywhere: a new release is a deliberate edit of the Dockerfile and `job_image` together, which the check enforces.
- `CLAUDE.md`, the `ci` Dockerfile comment, tests (129 pass).
## Review
Three read-only reviewers (scripts and guard; workflow and Renovate config; update loop and docs) found no way for a bot PR to change more than a `job_image` tag/digest. Their findings (unchecked non-ubuntu stages, lookalike container line, quoted `job_image`, stale comments) are fixed in the second commit.
## Verified / not verified
- Verified: hooks, 129 script tests, `pins` and `bump` on the real files; the act source interpolates matrix expressions in `container.image` (not run).
- Not verified: the first Images run on `main` after the merge is the real test (that run builds `molecule-ubuntu2404` 0.1.2 on 24.04, and `molecule-ubuntu2604` 0.1.0 if #37's build did not already publish it). Renovate's regex manager and `ubuntu` versioning have not run.
- Not fixed: a pin-only PR for the molecule image still merges without molecule having run on it.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
kaniko runs inside the job container and unpacks the image it builds over it, so the
job container must be the same Ubuntu release as the image's FROM lines. A single
ubuntu:26.04 job container broke the molecule-ubuntu2404 build (run 2529: GLIBC_2.42
not found, then the credential cleanup step died too).
Each matrix entry now names job_image, check_image_versions.py pins fails when it
differs from the Dockerfile's release, the bot-diff guard allows tag and digest edits
of job_image lines, Renovate tracks them with a regex manager (never automerged), and
major ubuntu updates are disabled everywhere: a new release is a deliberate edit.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Review findings: a non-ubuntu or variable FROM went unchecked, the registry-prefixed
ubuntu forms were missed, the container line could be satisfied by a lookalike in a run
block, and a quoted job_image passed the check but not the bot-diff guard or Renovate.
Also: stale ci Dockerfile base comment, the pins error now says what to edit, and the
docs state that a job_image-only bump rebuilds nothing.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
A comment edit in images/ci/Dockerfile is an image input, so the bump check wants a
version bump and a rebuild for nothing; the stale base comment waits for the next real ci
change. Two test strings had no interpolation (pylint f-string-without-interpolation).
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
The comment still named ubuntu:24.04 above a FROM ubuntu:26.04. A Dockerfile edit is an
image input, so ci gets its PATCH bump (scripts/bump_image_versions.py) and a rebuild.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Defame1297
scheduled this pull request to auto merge when all checks succeed 2026-10-26 19:09:29 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Why
kaniko runs inside the job container and unpacks the image it builds over it. With one
ubuntu:26.04job container, themolecule-ubuntu2404build (run 2529) mixed glibc 2.39 into a 2.42 userland:GLIBC_2.42 not found, and the credential cleanup step died too. The job container must be the same Ubuntu release as the image'sFROMlines.What
image.yml: every matrix entry hasjob_image: ubuntu:<release>@sha256:...(24.04 formolecule-ubuntu2404; 26.04 formolecule-ubuntu2604andci); the job container is${{ matrix.job_image }}.check_image_versions.py pinsfails when a Dockerfile'sFROM ubuntu:release differs fromjob_image, when aFROMis not Ubuntu or holds a variable, whenjob_imageis missing, quoted or malformed, or when the container line is not the matrix expression directly undercontainer:.check_bot_pr_diff.py: a bot may change the tag and digest ofjob_image:lines only (same rule as the old container line).renovate.json: a regex manager tracksjob_image(never automerged: the job holds the push credential). Majorubuntuupdates are disabled everywhere: a new release is a deliberate edit of the Dockerfile andjob_imagetogether, which the check enforces.CLAUDE.md, theciDockerfile comment, tests (129 pass).Review
Three read-only reviewers (scripts and guard; workflow and Renovate config; update loop and docs) found no way for a bot PR to change more than a
job_imagetag/digest. Their findings (unchecked non-ubuntu stages, lookalike container line, quotedjob_image, stale comments) are fixed in the second commit.Verified / not verified
pinsandbumpon the real files; the act source interpolates matrix expressions incontainer.image(not run).mainafter the merge is the real test (that run buildsmolecule-ubuntu24040.1.2 on 24.04, andmolecule-ubuntu26040.1.0 if #37's build did not already publish it). Renovate's regex manager andubuntuversioning have not run.🤖 Generated with Claude Code