chore: add aube and allow_builds for npm:renovate#332
Draft
zeitlinger wants to merge 1 commit into
Draft
Conversation
mise's npm backend uses --ignore-scripts=true, silently breaking renovate's re2 native binary at install time. aube supports per-tool allow_builds allowlisting and is picked up automatically by mise. Tracked in grafana/flint#344. Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the repo’s mise-managed toolchain to ensure npm:renovate can successfully install and run its native re2 dependency (which otherwise fails under --ignore-scripts installs), by introducing aube and adding an allow_builds allowlist for renovate.
Changes:
- Adds
aubeto[tools]so mise can use it as the Node.js package manager backend. - Updates
npm:renovatefrom a plain version string to a table includingallow_builds = ["re2"].
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -1,4 +1,5 @@ | |||
| [tools] | |||
| aube = "latest" | |||
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.
Blocked by grafana/flint#344
Summary
aube = "latest"alongsidenodein[tools]npm:renovatefrom a plain version string to{ version = "...", allow_builds = ["re2"] }Background
mise's npm backend installs packages with
--ignore-scripts=true, which silently prevents renovate'sre2dependency from downloading its native binary at install time. Without it, renovate crashes withCannot find module './build/Release/re2.node'at runtime.aubeis a fast Node.js package manager that mise picks up automatically (defaultnpm.package_manager = "auto"). It supportsallow_buildsallowlisting sore2can install correctly.Tracked upstream in jdx/mise#10237 and grafana/flint#344.
Status
Draft — waiting for grafana/flint#344 to release. Once released, run
flint run --fix flint-setupto get the pinned aube version and normalized tool ordering.Test plan
mise installinstalls renovate without errors after this change