Repository navigation
ci: validate the Renovate config with renovate@44, the runner's major - #26
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Validate the Renovate configuration with the same major the runner executes:
renovate@44instead ofrenovate@latest, in everynpx --packagecall of thevalidatejob. The comment that records what was measured againstrenovate@latestis left as written.Why
renovatebot/github-actionrunsghcr.io/renovatebot/renovate:44— a floating major hardcoded in itssrc/docker.ts, as the note at the foot of this workflow already says. The validator, throughrenovate@latest, follows npm'slatestinstead. 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@44keeps 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_VERSIONpin 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.ymlvalidates withrenovate@latestand has noRENOVATE_VERSIONpin, 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