Skip to content

fix(ci): prioritize flake.lock maintenance updates - #1096

Merged
adamwg merged 1 commit into
crossplane:mainfrom
jbw976:prioritize-lock-file-maintenance
Aug 3, 2026
Merged

fix(ci): prioritize flake.lock maintenance updates#1096
adamwg merged 1 commit into
crossplane:mainfrom
jbw976:prioritize-lock-file-maintenance

Conversation

@jbw976

@jbw976 jbw976 commented Aug 3, 2026

Copy link
Copy Markdown
Member

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:

  • 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

I have:

Need help with this checklist? See the cheat sheet.

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>
@jbw976
jbw976 requested a review from a team as a code owner August 3, 2026 18:15
@jbw976
jbw976 requested a review from negz August 3, 2026 18:15
@adamwg
adamwg merged commit 598b215 into crossplane:main Aug 3, 2026
9 checks passed
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>
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.

2 participants