Downgrade due to poetry branch reuse #29276
-
What would you like help with?I think I found a bug How are you running Renovate?Mend Renovate hosted app on github.com If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.No response Please tell us more about your question or problemIf a poetry branch is not rebased, but otherwise updated (e.g. new version released), Renovate will probably reuse the existing branch ( Demonstration: https://github.com/msw-kialo/renovate-push-rebase Specifically msw-kialo/renovate-push-rebase#1 Way to reproduce:
The branch update can be seen in https://github.com/msw-kialo/renovate-push-rebase/compare/a6b3d271f60a8dec3925e85dd2185e0012d67955..5c1ba312b5fa29e18900e53a06fb2339d8e48a29 We initially observed with issue in the self-hosted version of renovate. We also use GitHub and enabled platform commits; this feature might be required to trigger this issue. We are able to mitigate this issue by setting Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
How is the "frequently released package" part related? I thought based on your description that it might apply to any package. It also seems specifically related to you having one update which is lockfile-only, and the other update is package file-based. |
Beta Was this translation helpful? Give feedback.
-
@msw-kialo Hey, I think we can clearly conclude it's a bug, can you please create an issue? :) Well done on the reproduction, i couldn't figure out why this happens to some of my PRs. One other thing I also find puzzling is that if renovate thinks that poetry lockfile upgrades are unreliable, why is the default rangeStrategy for poetry when using As a sidenote, this issue seriously demotivated me to ever use autoMerge with renovate, if those kinds of issues are possible it's hard to justify even with a fairly robust test suite. Nevertheless, i appreciate what renovate is doing, when it works it feels like magic. |
Beta Was this translation helpful? Give feedback.
-
I've converted the branch reuse bug part of this to an issue here: #31042. This discussion can now be closed |
Beta Was this translation helpful? Give feedback.
I've converted the branch reuse bug part of this to an issue here: #31042. This discussion can now be closed