Moves the postUpgradeTasks block (python3 scripts/bump_image_versions.py origin/main, fileFilters image.yml, executionMode: branch) out of the matchPackageNames: ["*"] packageRule to the top level of renovate.json. Comments in renovate.json and the bump_image_versions.py docstring updated to match.
Why
PR #203 (renovate/pip-compile-refresh, a lock regeneration with no package upgrade) changed only requirements-dev.lock, an input of the ci image, but arrived without the image.yml version bump. Lint failed at check_image_versions.py bump. The uv bump PR (#202), a real package upgrade, got its bump. Most likely cause: a lock refresh carries no package for a packageRule to match, so the task never attached. A top-level setting applies to every branch.
Verified
All pre-commit hooks pass; push-time ansible-test sanity passed.
check_bot_pr_diff.py accepts #203's diff, so the missing bump was its only Lint failure.
Two independent read-only reviews (config semantics, and a diagnosis done without this hypothesis) agree on the cause. One stale "(rule below)" wording they found is fixed.
Not verified
No live Renovate run. The cause is inferred from config and git history; the info-level run log was not checked. After merge, run the Renovate workflow via workflow_dispatch (debug log, dry run) and look for "Executing post-upgrade task" on the lock-refresh branch, and that origin/main and clone depth suffice for the script's merge-base.
Whether lockFileMaintenance branches inherit the top-level task (probable, not traced).
Notes
Side effect: every merged lock refresh (including the weekly lock-file-maintenance PR) now gets a ci image patch bump and so an image rebuild on main. That follows the existing "lock is an image input" rule.
#203 itself is not fixed by this. It needs a hand bump of the ci version in image.yml (0.2.24 to 0.2.25) or to be closed and recreated by Renovate. Because of the human merge of main into it, Renovate may no longer rebase it.
Python header in #203's lock changed 3.13 to 3.14 (Renovate's container regenerated it). The bot-diff gate allows it; not addressed here.
## What
Moves the `postUpgradeTasks` block (`python3 scripts/bump_image_versions.py origin/main`, `fileFilters` image.yml, `executionMode: branch`) out of the `matchPackageNames: ["*"]` packageRule to the top level of `renovate.json`. Comments in `renovate.json` and the `bump_image_versions.py` docstring updated to match.
## Why
PR #203 (`renovate/pip-compile-refresh`, a lock regeneration with no package upgrade) changed only `requirements-dev.lock`, an input of the `ci` image, but arrived without the `image.yml` version bump. Lint failed at `check_image_versions.py bump`. The uv bump PR (#202), a real package upgrade, got its bump. Most likely cause: a lock refresh carries no package for a packageRule to match, so the task never attached. A top-level setting applies to every branch.
## Verified
- All pre-commit hooks pass; push-time `ansible-test sanity` passed.
- `renovate-config-validator --strict renovate.json` (renovate 44.161.0): config validated successfully.
- `check_bot_pr_diff.py` accepts #203's diff, so the missing bump was its only Lint failure.
- Two independent read-only reviews (config semantics, and a diagnosis done without this hypothesis) agree on the cause. One stale "(rule below)" wording they found is fixed.
## Not verified
- No live Renovate run. The cause is inferred from config and git history; the info-level run log was not checked. After merge, run the Renovate workflow via `workflow_dispatch` (debug log, dry run) and look for "Executing post-upgrade task" on the lock-refresh branch, and that `origin/main` and clone depth suffice for the script's merge-base.
- Whether lockFileMaintenance branches inherit the top-level task (probable, not traced).
## Notes
- Side effect: every merged lock refresh (including the weekly lock-file-maintenance PR) now gets a `ci` image patch bump and so an image rebuild on `main`. That follows the existing "lock is an image input" rule.
- #203 itself is not fixed by this. It needs a hand bump of the `ci` version in `image.yml` (0.2.24 to 0.2.25) or to be closed and recreated by Renovate. Because of the human merge of `main` into it, Renovate may no longer rebase it.
- Python header in #203's lock changed 3.13 to 3.14 (Renovate's container regenerated it). The bot-diff gate allows it; not addressed here.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The postUpgradeTasks lived in a packageRule matching package "*". Branch
renovate/pip-compile-refresh (a lock regeneration, no package upgrade) did not
get the task, so its requirements-dev.lock change reached the lint check
without the ci image version bump and failed `check_image_versions.py bump`.
A top-level postUpgradeTasks applies to every branch.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
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.
What
Moves the
postUpgradeTasksblock (python3 scripts/bump_image_versions.py origin/main,fileFiltersimage.yml,executionMode: branch) out of thematchPackageNames: ["*"]packageRule to the top level ofrenovate.json. Comments inrenovate.jsonand thebump_image_versions.pydocstring updated to match.Why
PR #203 (
renovate/pip-compile-refresh, a lock regeneration with no package upgrade) changed onlyrequirements-dev.lock, an input of theciimage, but arrived without theimage.ymlversion bump. Lint failed atcheck_image_versions.py bump. The uv bump PR (#202), a real package upgrade, got its bump. Most likely cause: a lock refresh carries no package for a packageRule to match, so the task never attached. A top-level setting applies to every branch.Verified
ansible-test sanitypassed.renovate-config-validator --strict renovate.json(renovate 44.161.0): config validated successfully.check_bot_pr_diff.pyaccepts #203's diff, so the missing bump was its only Lint failure.Not verified
workflow_dispatch(debug log, dry run) and look for "Executing post-upgrade task" on the lock-refresh branch, and thatorigin/mainand clone depth suffice for the script's merge-base.Notes
ciimage patch bump and so an image rebuild onmain. That follows the existing "lock is an image input" rule.civersion inimage.yml(0.2.24 to 0.2.25) or to be closed and recreated by Renovate. Because of the human merge ofmaininto it, Renovate may no longer rebase it.🤖 Generated with Claude Code