chore(renovate): add dashboard, lockfile maintenance and pub rules - #137
Merged
Conversation
Enable the dependency dashboard and weekly pubspec.lock maintenance, and teach Renovate how pub actually behaves: pubspec pins caret ranges, so the default replace strategy never fires for an in-range update and Dart deps silently went stale. Group Dart minor updates into one automerged PR. Switch the chart-template image manager to an explicit `# renovate:` marker instead of matching every `image: name:tag` line. The chart's own image is templated from appVersion and carries no version to match on, so the only thing this manager ever finds is a third-party image - making that explicit keeps it from silently matching something it shouldn't. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Proposed changes
New in
renovate.json:dependencyDashboard— one issue listing everything pending.lockFileMaintenance— refreshespubspec.lockweekly (Monday before 5am).rangeStrategy: bumpforpub—pubspec.yamlpins caret ranges, so Renovate's defaultreplacestrategy never fires for an in-range update and Dart dependencies silently went stale.Changed: the custom manager for chart templates now keys off an explicit
# renovate:marker instead of matching everyimage: name:tagline it can find.The reason for the marker: the chart's own image line is
image: {{ include "stelaris-ui.image" . }}and carries no version at all — the tag comes fromappVersionvia_helpers.tpl. So the only thing this manager can ever match is a third-party image, and saying so explicitly keeps it from matching something it shouldn't later on.On the chart's own image
An earlier draft of this change pinned
image.taginvalues.yamlto a fixed version with a Renovate marker on it. That is deliberately not part of this PR:tag: ""falls back to.Chart.AppVersion(_helpers.tpl:57),Chart.yamldocuments that coupling, andtests/deployment_test.yaml:113asserts it. Pinning the tag would break that test and let the chart version and the image version drift apart. The image is built by this repo and released by release-please — it is not a dependency Renovate should be tracking.Types of changes
Checklist
Further comments
Verified locally:
customManagerregex was run against the real files it targets. All three match what they should:flutter = 3.47.1(Dockerfile +build_pr.yml),curlimages/curl = 8.20.1(chart template, datasource from the marker),helm-unittest/helm-unittest = v1.1.2(build_pr.yml). No manager comes back empty.helm lintclean,helm unittest18/18 passing, andhelm templatestill rendersharbor.onelitefeather.dev/onelitefeather/stelaris:1.3.0fromappVersion.One note:
matchUpdateTypes: [patch] → automerge: trueis carried over unchanged, but the central preset (:default(...)) already enables patch automerge. It is redundant rather than wrong — happy to drop it if you'd rather keep the config minimal.🤖 Generated with Claude Code