The Renovate dry run after #124 (run 3880) is green but shows that Renovate proposes no bump at all since that merge:
Python tools: the pip-compile manager refused the lock's header (WARN: pip-compile error ... "Option --newline=LF not supported (yet)"), extracted nothing, and went on. #124 had replaced pip_requirements with this manager, so the minor/patch policy silently stopped for the Python tools.
Hooks: all 7 hooks have skipReason: github-token-required, updates: []. There is no GitHub token. With the token warning off, the github-tags lookup is refused at once (403 rate limit exceeded on the GraphQL call), so the "best effort, unauthenticated" note in renovate.yml did not hold.
What
scripts/lock-requirements.sh: no --newline lf. requirements-dev.lock: only the header line changes; the 81 entries and all hashes are identical. The lock is an image input: ci 0.2.19 to 0.2.20 (image.yml, via bump_image_versions.py).
renovate.json: one packageRule for the pre-commit manager, overrideDatasource: git-tags with overridePackageName: https://github.com/{{{depName}}}, so the hooks are looked up with git ls-remote (no API, no credential), and automerge: false.
renovate.yml: RENOVATE_GITHUB_TOKEN_WARN: "false", plus the header comment corrected. Both pieces are needed: the token check runs right after extraction and marks every github-tags dependency as skipped before a package rule can change its datasource (the rule alone does nothing; tested).
CLAUDE.md: documents the header restriction, the hook lookup, the manual hook bumps, and the local test.
No credential was created, and no secret is referenced.
One decision to confirm: hook bumps no longer automerge
git-tags has no release timestamps (Renovate logs did not have a releaseTimestamp ... proceeding), so minimumReleaseAge: 3 days cannot delay a hook bump, and it could automerge as soon as Lint passes. For a change whose purpose is supply-chain hardening, each hook bump is reviewed by a person instead. Remove "automerge": false from that rule to keep the old policy.
Verified
Locally, with [email protected] --platform=local on this checkout (the version renovate.yml runs):
pip-compile: "pip-compile": {"fileCount": 1, "depCount": 81}, no error.
Hooks: 0 skipped for a token; the override applies to all 7; no rate limit.
Renovate found a real update, conventional-pre-commit v4.4.0 to v4.5.0, with digest 33b50eb042bee26eac0ee96ad84aa9c1b4dccdd8. That is the commit (the tag is annotated: git ls-remote shows tag object 81d3af62... and ^{}33b50eb042...). The other 6 current tags are lightweight.
check_image_versions.py pins and bump origin/main pass; the commit hooks and the pre-push ansible-test sanity passed.
Not verified
The real job. Renovate reads renovate.json from main, so a dry run in Actions only shows this after the merge. Run Actions > Renovate > dry_run=true after merging and read the same two things: pip-compile depCount and the hooks' updates.
Renovate's pip-compile artifact step. It replays the header command, and it logs --allow-unsafe, --generate-hashes and --strip-extras as "option not handled". Nothing is outdated in the lock yet, so no replay ran. If the replayed lock loses its hashes, the bot-diff gate and --require-hashes will reject it; the fallback is scripts/lock-requirements.sh.
The ci 0.2.20 build on main. The runner's disk was fixed earlier (daily prune, 48h images).
Local mode skips the bot-diff gate and the postUpgradeTasks image bump that a hook bump PR will also need: the first hook bump PR is the real test.
After the merge
image.yml builds ci 0.2.20 on main; then the consumers' pins (lint.yml, build.yml) move to its digest in a follow-up PR (PR 2 of the loop, #131 was the previous one).
Refs #113
## Why
The Renovate dry run after #124 (run 3880) is green but shows that **Renovate proposes no bump at all** since that merge:
- **Python tools:** the `pip-compile` manager refused the lock's header (`WARN: pip-compile error ... "Option --newline=LF not supported (yet)"`), extracted nothing, and went on. #124 had replaced `pip_requirements` with this manager, so the minor/patch policy silently stopped for the Python tools.
- **Hooks:** all 7 hooks have `skipReason: github-token-required, updates: []`. There is no GitHub token. With the token warning off, the `github-tags` lookup is refused at once (`403 rate limit exceeded` on the GraphQL call), so the "best effort, unauthenticated" note in `renovate.yml` did not hold.
## What
- `scripts/lock-requirements.sh`: no `--newline lf`. `requirements-dev.lock`: **only the header line changes**; the 81 entries and all hashes are identical. The lock is an image input: `ci` 0.2.19 to **0.2.20** (`image.yml`, via `bump_image_versions.py`).
- `renovate.json`: one packageRule for the `pre-commit` manager, `overrideDatasource: git-tags` with `overridePackageName: https://github.com/{{{depName}}}`, so the hooks are looked up with `git ls-remote` (no API, no credential), and **`automerge: false`**.
- `renovate.yml`: `RENOVATE_GITHUB_TOKEN_WARN: "false"`, plus the header comment corrected. Both pieces are needed: the token check runs right after extraction and marks every `github-tags` dependency as skipped before a package rule can change its datasource (the rule alone does nothing; tested).
- `CLAUDE.md`: documents the header restriction, the hook lookup, the manual hook bumps, and the local test.
No credential was created, and no secret is referenced.
## One decision to confirm: hook bumps no longer automerge
`git-tags` has no release timestamps (Renovate logs `did not have a releaseTimestamp ... proceeding`), so `minimumReleaseAge: 3 days` cannot delay a hook bump, and it could automerge as soon as Lint passes. For a change whose purpose is supply-chain hardening, each hook bump is reviewed by a person instead. Remove `"automerge": false` from that rule to keep the old policy.
## Verified
Locally, with `[email protected] --platform=local` on this checkout (the version `renovate.yml` runs):
- `pip-compile`: `"pip-compile": {"fileCount": 1, "depCount": 81}`, no error.
- Hooks: 0 skipped for a token; the override applies to all 7; no rate limit.
- Renovate found a real update, `conventional-pre-commit` v4.4.0 to v4.5.0, with digest `33b50eb042bee26eac0ee96ad84aa9c1b4dccdd8`. That is the **commit** (the tag is annotated: `git ls-remote` shows tag object `81d3af62...` and `^{}` `33b50eb042...`). The other 6 current tags are lightweight.
- `check_image_versions.py pins` and `bump origin/main` pass; the commit hooks and the pre-push `ansible-test sanity` passed.
## Not verified
- **The real job.** Renovate reads `renovate.json` from `main`, so a dry run in Actions only shows this after the merge. Run `Actions > Renovate > dry_run=true` after merging and read the same two things: `pip-compile` depCount and the hooks' `updates`.
- **Renovate's `pip-compile` artifact step.** It replays the header command, and it logs `--allow-unsafe`, `--generate-hashes` and `--strip-extras` as "option not handled". Nothing is outdated in the lock yet, so no replay ran. If the replayed lock loses its hashes, the bot-diff gate and `--require-hashes` will reject it; the fallback is `scripts/lock-requirements.sh`.
- The `ci` 0.2.20 build on `main`. The runner's disk was fixed earlier (daily prune, 48h images).
- Local mode skips the bot-diff gate and the `postUpgradeTasks` image bump that a hook bump PR will also need: the first hook bump PR is the real test.
## After the merge
`image.yml` builds `ci` 0.2.20 on `main`; then the consumers' pins (`lint.yml`, `build.yml`) move to its digest in a follow-up PR (PR 2 of the loop, #131 was the previous one).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Dry run 3880 showed that since #124 Renovate proposed no bump at all:
- pip-compile: the manager refused the lock's header ("Option --newline=LF
not supported (yet)"), extracted nothing and only logged a WARN, so the
Python tools were never bumped. Drop --newline from
scripts/lock-requirements.sh and the lock header (the 81 entries and
hashes are unchanged); the manager now reads 81 dependencies. The lock is
an image input: ci 0.2.19 -> 0.2.20.
- pre-commit: every hook was skipped (skipReason github-token-required, no
GitHub token exists), and with the warning off the GitHub GraphQL lookup is
refused at once (403 rate limit). Look the hooks up with git ls-remote
(packageRule overrideDatasource git-tags, which needs
RENOVATE_GITHUB_TOKEN_WARN=false because the token check runs before
package rules apply). Renovate dereferences annotated tags, so the new rev
is the commit (checked against git ls-remote for conventional-pre-commit
v4.5.0). git-tags has no release timestamps, so hook bumps are not
automerged.
Tested with [email protected].0 --platform=local against this checkout. Not
tested: the real job (renovate.json is read from main), the lock replay by
Renovate's pip-compile artifact step, and the ci 0.2.20 image build.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTRacjtXvmKxHr5TM5G
Defame1297
scheduled this pull request to auto merge when all checks succeed 2026-11-14 21:48:41 +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.
Refs #113
Why
The Renovate dry run after #124 (run 3880) is green but shows that Renovate proposes no bump at all since that merge:
pip-compilemanager refused the lock's header (WARN: pip-compile error ... "Option --newline=LF not supported (yet)"), extracted nothing, and went on. #124 had replacedpip_requirementswith this manager, so the minor/patch policy silently stopped for the Python tools.skipReason: github-token-required, updates: []. There is no GitHub token. With the token warning off, thegithub-tagslookup is refused at once (403 rate limit exceededon the GraphQL call), so the "best effort, unauthenticated" note inrenovate.ymldid not hold.What
scripts/lock-requirements.sh: no--newline lf.requirements-dev.lock: only the header line changes; the 81 entries and all hashes are identical. The lock is an image input:ci0.2.19 to 0.2.20 (image.yml, viabump_image_versions.py).renovate.json: one packageRule for thepre-commitmanager,overrideDatasource: git-tagswithoverridePackageName: https://github.com/{{{depName}}}, so the hooks are looked up withgit ls-remote(no API, no credential), andautomerge: false.renovate.yml:RENOVATE_GITHUB_TOKEN_WARN: "false", plus the header comment corrected. Both pieces are needed: the token check runs right after extraction and marks everygithub-tagsdependency as skipped before a package rule can change its datasource (the rule alone does nothing; tested).CLAUDE.md: documents the header restriction, the hook lookup, the manual hook bumps, and the local test.No credential was created, and no secret is referenced.
One decision to confirm: hook bumps no longer automerge
git-tagshas no release timestamps (Renovate logsdid not have a releaseTimestamp ... proceeding), sominimumReleaseAge: 3 dayscannot delay a hook bump, and it could automerge as soon as Lint passes. For a change whose purpose is supply-chain hardening, each hook bump is reviewed by a person instead. Remove"automerge": falsefrom that rule to keep the old policy.Verified
Locally, with
[email protected] --platform=localon this checkout (the versionrenovate.ymlruns):pip-compile:"pip-compile": {"fileCount": 1, "depCount": 81}, no error.conventional-pre-commitv4.4.0 to v4.5.0, with digest33b50eb042bee26eac0ee96ad84aa9c1b4dccdd8. That is the commit (the tag is annotated:git ls-remoteshows tag object81d3af62...and^{}33b50eb042...). The other 6 current tags are lightweight.check_image_versions.py pinsandbump origin/mainpass; the commit hooks and the pre-pushansible-test sanitypassed.Not verified
renovate.jsonfrommain, so a dry run in Actions only shows this after the merge. RunActions > Renovate > dry_run=trueafter merging and read the same two things:pip-compiledepCount and the hooks'updates.pip-compileartifact step. It replays the header command, and it logs--allow-unsafe,--generate-hashesand--strip-extrasas "option not handled". Nothing is outdated in the lock yet, so no replay ran. If the replayed lock loses its hashes, the bot-diff gate and--require-hasheswill reject it; the fallback isscripts/lock-requirements.sh.ci0.2.20 build onmain. The runner's disk was fixed earlier (daily prune, 48h images).postUpgradeTasksimage bump that a hook bump PR will also need: the first hook bump PR is the real test.After the merge
image.ymlbuildsci0.2.20 onmain; then the consumers' pins (lint.yml,build.yml) move to its digest in a follow-up PR (PR 2 of the loop, #131 was the previous one).🤖 Generated with Claude Code