From f67ce1c39188fe21038e9f2b588e46ac9c417a0b Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Mon, 26 Oct 2026 20:03:53 +0000 Subject: [PATCH 1/2] chore(renovate): let ansible-core minor bumps automerge The shared sanity ignore list covers the known findings of a new core, and the Build check (ansible-test sanity) is the gate: a minor that shows new findings stays red and is not merged. Majors stay manual through the general rule. Also: the image.yml rule description names the per-entry job_image lines. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm --- CLAUDE.md | 4 ++-- renovate.json | 18 ++---------------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 6fc181d..93f67ee 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -86,8 +86,8 @@ protection, or create tags: those are the operator's. `renovate.json` is run by `.gitea/workflows/renovate.yml` (see below). Items marked unverified have not run yet. -- **Policy:** minor and patch bumps automerge, majors are manual. `ansible-core` minor and major - are manual too (a new minor can show new sanity findings), and `ansible-core` and +- **Policy:** minor and patch bumps automerge, majors are manual. An `ansible-core` minor can show new + sanity findings; the Build check is the gate (a red bump is not merged), and `ansible-core` and `ansible-lint` bump in one group. Dockerfile base-image tag and digest bumps (`images/*/Dockerfile`) stay automergeable within a release: Kamino is the untrusted side and the pin PR's CI exercises the new image. A new Ubuntu release (major `ubuntu` update) is never a bump: it is a deliberate edit. The `job_image` of each diff --git a/renovate.json b/renovate.json index 946a2c9..8deb880 100644 --- a/renovate.json +++ b/renovate.json @@ -131,7 +131,7 @@ ] }, { - "description": "ansible-core and ansible-lint move together (the lint rules follow the core version). A new ansible-core minor can bring new sanity findings (the shared tests/sanity/ignore-common.txt covers the known ones), so its minor and major bumps are manual; patches of both follow the global automerge.", + "description": "ansible-core and ansible-lint move together (the lint rules follow the core version). Minor and patch bumps automerge like the rest, majors are manual. A new ansible-core minor can bring new sanity findings: the shared tests/sanity/ignore-common.txt covers the known ones, and the Build check (ansible-test sanity) is the gate, so a bump that shows new findings stays red and is not merged.", "groupName": "ansible tooling", "matchDatasources": [ "pypi" @@ -142,21 +142,7 @@ ] }, { - "description": "ansible-core minor and major bumps: a new core can bring new sanity findings, so a human reviews them.", - "matchDatasources": [ - "pypi" - ], - "matchPackageNames": [ - "ansible-core" - ], - "matchUpdateTypes": [ - "minor", - "major" - ], - "automerge": false - }, - { - "description": "The job container of image.yml (ubuntu by digest) holds the org registry push credential while the image job runs: never automerged, and kept in its own branch so the Dockerfile base-image bumps are not held back with it.", + "description": "The job containers of image.yml (matrix job_image, ubuntu by digest) hold the org registry push credential while the image job runs: never automerged, and kept in their own branch so the Dockerfile base-image bumps are not held back with them.", "matchFileNames": [ ".gitea/workflows/image.yml" ], From 6d8187aa414521e911e4193c857e1b85f917ca59 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Mon, 26 Oct 2026 20:08:03 +0000 Subject: [PATCH 2/2] docs(deps): say what a bump of requirements-dev.txt really does The comment claimed the pins match the environment repo's runner image and that Renovate bumps them. Now: they started equal and are not kept equal, and a bump rebuilds the ci image and moves the consumers' pins. The file is an input of the ci image, so ci gets its PATCH bump. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm --- .gitea/workflows/image.yml | 2 +- requirements-dev.txt | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/image.yml b/.gitea/workflows/image.yml index d34bfdf..ab66dea 100644 --- a/.gitea/workflows/image.yml +++ b/.gitea/workflows/image.yml @@ -86,7 +86,7 @@ jobs: dockerfile: Dockerfile job_image: ubuntu:26.04@sha256:c098726dd9b9733f3e885f8de0ef375206a311b0a317eadc40d347b1115fb944 - name: ci - version: 0.2.7 + version: 0.2.8 subpath: "" dockerfile: images/ci/Dockerfile job_image: ubuntu:26.04@sha256:c098726dd9b9733f3e885f8de0ef375206a311b0a317eadc40d347b1115fb944 diff --git a/requirements-dev.txt b/requirements-dev.txt index 4e6a8bf..14d31a8 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,7 +1,9 @@ # Pinned tooling for lint and build, used by CI (.gitea/workflows) and locally: # python3 -m venv .venv && . .venv/bin/activate && pip install -r requirements-dev.txt -# ansible-core and ansible-lint match the environment repo's runner image -# (hosts/group_vars/all/ci_python_tools.yml there). Renovate bumps these pins. +# ansible-core and ansible-lint started equal to the environment repo's runner image +# (hosts/group_vars/all/ci_python_tools.yml there) and are no longer kept equal automatically. +# Renovate (renovate.json) bumps these pins; a bump rebuilds the ci image (images/ci) and +# Renovate then moves the consumers' pins to it. ansible-core==2.21.5 ansible-lint==26.10.1 pre-commit==4.7.0