Repository navigation
Renovate: take Bun's packageManager into the Bun group - #49
Merged
Merged
Conversation
Renovate's bun manager already reads "packageManager": "bun@x.y.z" in package.json as the npm package `bun`. The Bun group only matched oven/bun and oven-sh/bun (an extra regex manager that read the same line a second time), so the `bun` update went to the monthly auto-merged renovate/minor-patch PR while oven/bun went to renovate/bun: the image and CI's Bun could drift apart, and the line was edited twice. Drop the regex manager and match `bun` in the Bun group, as in firsttris/stellwerk and firsttris/fernsicht. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y3rdfbWb1xDUdPRng7TX9Z
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.
Renovate's bun manager already reads
"packageManager": "bun@x.y.z"in package.json as the npm packagebun. The Bun group only matchedoven/bun/docker.io/oven/bunandoven-sh/bun, the latter from an extra regex manager that reads the same line a second time. So thebunupdate lands in the monthly auto-mergedrenovate/minor-patchPR whileoven/bunlands inrenovate/bun: the image's Bun and CI's Bun drift apart, and the line is edited by two managers.Fix (as in firsttris/stellwerk#26 and firsttris/fernsicht#18): drop the regex manager for
packageManagerand addbunto the Bun group'smatchPackageNames.Checked with Renovate 44.211.0 (
renovate --platform=local --dry-run=lookup) on an export of the repo with Bun pinned back to 1.3.0 (packageManagerandoven/bun:1.3.0in docker/Dockerfile); listed is every Bun dependency and the branch of its update.renovate-config-validator: validated successfully.Not checkable here: the
oven-sh/bungithub-releases lookup in the red run fails in this sandbox (GitHub GraphQL is blocked), so it shows "no update"; on renovate.com it would be a second, duplicate update of the same line.Red (origin/main, Bun pinned back to 1.3.0)
Green (this branch)
https://claude.ai/code/session_01Y3rdfbWb1xDUdPRng7TX9Z
Generated by Claude Code