Skip to content

feat: add aube and allow_builds for npm:renovate#344

Draft
zeitlinger wants to merge 1 commit into
mainfrom
feat/aube-renovate
Draft

feat: add aube and allow_builds for npm:renovate#344
zeitlinger wants to merge 1 commit into
mainfrom
feat/aube-renovate

Conversation

@zeitlinger

@zeitlinger zeitlinger commented Jun 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds aube alongside node when npm:renovate is selected via flint init
  • Writes npm:renovate as { version = "...", allow_builds = ["re2"] } instead of a plain string
  • Detects and fixes existing repos missing this config via flint-setup / flint run --fix flint-setup

Background

mise's npm backend installs with --ignore-scripts=true, which silently breaks renovate's re2 native dependency (postinstall script downloads the binary). aube is mise's fast package manager that supports allow_builds allowlisting per tool — mise picks it up automatically when installed (jdx/mise#10237).

Blocking: CI currently failing

CI fails because @yarnpkg/libzip@3.2.2 (a renovate transitive dep) dropped npm provenance attestation relative to 3.2.1, triggering aube's trustPolicy=no-downgrade check (ERR_AUBE_TRUST_DOWNGRADE, exit 23). Reported upstream: yarnpkg/berry#7182. Will unblock once yarnpkg publishes a fixed version.

Test plan

  • cargo test passes
  • flint init on a repo with renovate-deps adds aube and writes inline table
  • flint run --fix flint-setup on an existing repo with plain npm:renovate migrates it

mise's npm backend uses --ignore-scripts=true, silently preventing
renovate's re2 dependency from downloading its native binary at
install time. aube (picked up automatically by mise when installed)
supports per-tool allow_builds allowlisting.

flint init and flint-setup now:
- add `aube` alongside `node` when npm:renovate is selected
- write npm:renovate as an inline table with allow_builds = ["re2"]
- detect and fix existing repos missing this config
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.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.

1 participant