Commit b842291
authored
feat(renovate): automerge and label lock file maintenance (#158)
lockFileMaintenance is a sixth updateType, and it matched none of the
five classification rules. Its PRs therefore carried no version label,
never automerged, and could not even be filtered for -- three sat open
across the npm repos, the oldest three weeks.
Automerging them is a deliberate exception, not the tidy-up it looks
like. It cannot carry a soak: minimumReleaseAge does not apply to
lockFileMaintenance at all, because Renovate delegates regeneration to
the package manager and never sees the individual transitive versions it
resolves. So the choice was automerge with no soak or leave them to a
human, with no middle option, and CI is the gate that remains.
What the exception costs is worth stating plainly. `rangeStrategy: "pin"`
freezes every declared dependency, so one of these PRs is the only path
by which a transitive dependency ever changes -- which makes it both the
only transitive-update mechanism and the only point at which transitive
drift could be inspected. Merging on green gives up that inspection. The
judgement is that a queue nobody merges is the worse failure, because it
means transitive dependencies never move at all.
Adds `renovate-version-lockfile` and declares it in settings.yml in the
same change: Renovate silently drops labels the consuming repo does not
have, so the rule would otherwise be half-inert. It sits outside the
traffic-light scheme on purpose, since a lock file refresh has no semver
risk level.
Only fires where a lockfile exists -- three npm repos today. The java and
python repos have none and never see one.
Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>1 parent 971a8d2 commit b842291
2 files changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
173 | 189 | | |
174 | 190 | | |
175 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
152 | 157 | | |
153 | 158 | | |
154 | 159 | | |
| |||
0 commit comments