Grouping minor and patch updates with bundler does not work #23757
-
How are you running Renovate?Self-hosted Renovate If you're self-hosting Renovate, tell us what version of Renovate you run.v36 If you're self-hosting Renovate, select which platform you are using.github.com Was this something which used to work for you, and then stopped?It used to work, and then stopped Describe the problemFor most of the project, we run a configuration like this: {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch",
"matchPackagePatterns": [
"*"
],
"matchUpdateTypes": [
"minor",
"patch"
]
}
],
"rangeStrategy": "update-lockfile"
} Basically, we group all minor and patch updates into one PR since those usually do not require a detailed look and can be merged straight forward. In the last couple of months(?) we noted that Renovate sometimes reports that it will update something in its PR description in the
Git diff of diff --git a/Gemfile.lock b/Gemfile.lock
index 7df3248..826c140 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -72,9 +72,9 @@ GEM
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
- addressable (2.8.4)
+ addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
- appsignal (3.4.6)
+ appsignal (3.4.10)
rack
attrtastic (0.4.3)
actionpack (>= 3.0)
@@ -104,7 +104,7 @@ GEM
capybara-screenshot (1.0.26)
capybara (>= 1.0, < 4)
launchy
- carrierwave (3.0.1)
+ carrierwave (3.0.2)
activemodel (>= 6.0.0)
activesupport (>= 6.0.0)
addressable (~> 2.6)
@@ -214,7 +214,7 @@ GEM
mime-types-data (3.2023.0218.1)
mini_magick (4.12.0)
mini_mime (1.1.2)
- mini_portile2 (2.8.2)
+ mini_portile2 (2.8.4)
mini_racer (0.6.4)
libv8-node (~> 16.19.0.0)
minitest (5.19.0)
@@ -257,7 +257,7 @@ GEM
puma (6.3.0)
nio4r (~> 2.0)
racc (1.7.1)
- rack (2.2.7)
+ rack (2.2.8)
rack-proxy (0.7.6)
rack
rack-test (2.1.0)
@@ -304,7 +304,7 @@ GEM
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rest-graph (2.0.3)
- rexml (3.2.5)
+ rexml (3.2.6)
rouge (1.11.1)
route_translator (13.1.1)
actionpack (>= 5.2, < 7.1)
@@ -473,7 +473,7 @@ DEPENDENCIES
xml-sitemap
RUBY VERSION
- ruby 3.1.4p223
+ ruby 3.2.2p53
BUNDLED WITH
2.4.12 Note that updates like for Looking into the debug logs, it seems that 2023-08-08T09:03:56.9836686Z DEBUG: Executing command (repository=xxx/xxx, branch=renovate/all-minor-patch)
2023-08-08T09:03:56.9837828Z "command": "bundler lock --patch --strict --update appsignal carrierwave mini_racer rexml route_translator selenium-webdriver webdrivers" I would assume this is because of #19446, but I have no idea how we could influence the mentioned Minimal example: https://github.com/andyundso/renovate-group-minor-patch Relevant debug logsMentioned above, happy to extend it if more content is needed. Have you created a minimal reproduction repository?I have linked to a minimal reproduction in the description above |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
It looks like Renovate needs to update patch, minor and major updates separately, if more than one type exist in the same branch |
Beta Was this translation helpful? Give feedback.
-
Workaround: pin bundler dependencies (exact versions instead of ranges) |
Beta Was this translation helpful? Give feedback.
If I understand things right, this PR should fix the problem?