Skip to content

ci: validate the Renovate config with renovate@44, the runner's major - #26

Merged
tannevaled merged 1 commit into
mainfrom
ci/renovate-44
Nov 23, 2026
Merged

tannevaled merged 1 commit into
mainfrom
ci/renovate-44

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

Validate the Renovate configuration with the same major the runner executes: renovate@44 instead of renovate@latest, in every npx --package call of the validate job. The comment that records what was measured against renovate@latest is left as written.

Why

renovatebot/github-action runs ghcr.io/renovatebot/renovate:44 — a floating major hardcoded in its src/docker.ts, as the note at the foot of this workflow already says. The validator, through renovate@latest, follows npm's latest instead. Those two agree only until Renovate publishes major 45: from that day the check would judge this organisation's configuration with an engine the runner does not use, and could go red, or green, on a rule the runner never applies.

renovate@44 keeps both on the same floating major, so nothing has to be raised by hand. The runner and the validator can still be a few minutes apart inside the major (npm and the image are published separately); that window is accepted.

This follows the reasoning of go-fleettools/fleettools#289 (closed in favour of go-fleettools/fleettools#282): the validator must judge the configuration as the thing that runs it sees it, which rules out an exact pin. An exact RENOVATE_VERSION pin was weighed and not used here: in go-slides/.github it needed three files and drifted within hours (go-slides/.github#10, go-slides/.github#12).

The same one-line change goes to every organisation whose ci.yml validates with renovate@latest and has no RENOVATE_VERSION pin, one pull request each.

Refs go-fleettools/fleettools#305 — stays open until every organisation is done.
Refs go-fleettools/fleettools#282 — floating versions in a run: step; a floating major is still one, so this does not close it.
Refs go-fleettools/fleettools#289 — already closed, cited for its reasoning only.
Refs go-slides/.github#10 — already merged, cited as the pin that drifted.
Refs go-slides/.github#12 — already merged, cited as the fix that pin needed.

🤖 Generated with Claude Code

renovatebot/github-action runs ghcr.io/renovatebot/renovate:44, a
floating major. The validator used renovate@latest, which leaves that
major the day Renovate 45 is published and would then judge the config
with an engine the runner does not run. renovate@44 keeps both on the
same floating major with nothing to raise by hand.

Refs go-fleettools/fleettools#305

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit b245896 into main Nov 23, 2026
1 check passed
@tannevaled
tannevaled deleted the ci/renovate-44 branch November 23, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant