fix(ci): prioritize flake.lock maintenance updates - #1096
Merged
Conversation
Renovate sorts lock file maintenance last of all update types, so it's very easy for them to be rate-limited. This commit helps velocity for lock file maintenance PRs by doing the following: - changing weekly schedule to eligible during any renovate run - set prPriority so they will be at the top of the list only behind security vulnerability updates Signed-off-by: Jared Watts <jbw976@gmail.com>
adamwg
approved these changes
Aug 3, 2026
jbw976
added a commit
that referenced
this pull request
Aug 5, 2026
Renovate's Go dependency PRs fail their post-upgrade tasks with "error: experimental Nix feature 'nix-command' is disabled", so nix run .#tidy and nix run .#generate never refresh our vendor hashes or generated code. This entrypoint installs Nix from apt and configures it through /etc/nix/nix.conf. Renovate's Nix manager installs its own through containerbase whenever it updates flake.lock, and that one lands earlier on PATH and reads its config from containerbase's cache. This has always been possible but giving lock file maintenance a higher priority in #1096 moved those updates to the front of the run, where they now poison every post-upgrade task after them. This commit has the entrypoint publish a crossplane-nix launcher that pins both the binary and the config directory it reads, and points the post-upgrade tasks at it. RENOVATE_ALLOWED_COMMANDS no longer permits a bare nix, so a command still spelled that way fails on the allowlist instead of silently running against the wrong Nix. Signed-off-by: Jared Watts <jbw976@gmail.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.
Description of your changes
Same changes made in crossplane/crossplane#7695, but here in crossplane-runtime.
Renovate sorts lock file maintenance last of all update types, so it's very easy for them to be rate-limited. This commit helps velocity for lock file maintenance PRs by doing the following:
I have:
./nix.sh flake checkto ensure this PR is ready for review.Added or updated unit tests.Linked a PR or a docs tracking issue to document this change.Addedbackport release-x.ylabels to auto-backport this PR.Need help with this checklist? See the cheat sheet.