Skip to content

chore: add aube and allow_builds for npm:renovate#1456

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

chore: add aube and allow_builds for npm:renovate#1456
zeitlinger wants to merge 1 commit into
mainfrom
fix/aube-renovate

Conversation

@zeitlinger

@zeitlinger zeitlinger commented Jun 8, 2026

Copy link
Copy Markdown
Member

Blocked by grafana/flint#344

Summary

  • Adds aube = "latest" alongside node in [tools]
  • Updates npm:renovate from a plain version string to { version = "...", allow_builds = ["re2"] }

Background

mise's npm backend installs packages with --ignore-scripts=true, which silently prevents renovate's re2 dependency from downloading its native binary at install time. Without it, renovate crashes with Cannot find module './build/Release/re2.node' at runtime.

aube is a fast Node.js package manager that mise picks up automatically (default npm.package_manager = "auto"). It supports allow_builds allowlisting so re2 can 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-setup to get the pinned aube version and normalized tool ordering.

Test plan

  • mise install installs renovate without errors after this change
  • CI passes

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>
Copilot AI review requested due to automatic review settings June 8, 2026 16:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s mise tool configuration to ensure npm:renovate can successfully install its native re2 dependency by allowing build/install scripts, and introduces aube as an npm package manager option that supports that allowlisting.

Changes:

  • Add aube to [tools] to be picked up by mise’s npm backend.
  • Update npm:renovate tool definition to a structured form including allow_builds = ["re2"].

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread mise.toml
Comment on lines 1 to +3
# pin all versions to avoid GitHub rate limit
[tools]
aube = "latest"
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