RangeError exception updating an existing MR on gitlab self-hosted #21750
Replies: 12 comments
-
So strange that it only fails on updates and not creations when the content is in theory the same. Seems to be being thrown from the emoji library we use too. Can it be reproduced in a public repo? |
Beta Was this translation helpful? Give feedback.
-
Seems to be GitLab-specific, as the same upgrade works on GitHub: https://github.com/fgreinacher/renovate-range-error/pull/2 |
Beta Was this translation helpful? Give feedback.
-
Can you try gitlab.com to see if it's all of Gitlab and jot something specific to your server? |
Beta Was this translation helpful? Give feedback.
-
@rarkins I'm trying to create a repro case on gitlab.com, will keep you posted |
Beta Was this translation helpful? Give feedback.
-
Here, just got the same error on a pipeline with this repo: https://gitlab.com/dlouzan/renovate-repro-10808 |
Beta Was this translation helpful? Give feedback.
-
Thank you for providing a reproduction! 🎉 🚀 The Renovate team will take a look at the reproduction repository. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure this helps you guys but actually something else I observed:
|
Beta Was this translation helpful? Give feedback.
-
Interesting! Definitely confirms the observation that it happens on update and not create. Maybe we have a different logic path for MR body massaging for create and update, which may be a bug itself. |
Beta Was this translation helpful? Give feedback.
-
I just gave this another try on the repro repository and these are the findings:
I'll unquarantine this dependency on our own internal renovate and let it run overnight, let's see if the problem is fixed too. |
Beta Was this translation helpful? Give feedback.
-
This issue is back with gitbeaker dependency v34 🙃 |
Beta Was this translation helpful? Give feedback.
-
@rarkins i tried to reproduce on gitlab, I wasn't able to the new version doesn't fail apparently. the code is failing on i've also noticed a comment in the code pointing out to: #12875 @dlouzan if it works on Creation, but not on Updating, when i look at your current repo i see that it worked fine |
Beta Was this translation helpful? Give feedback.
-
@PhilipAbed perhaps you can add a try/catch around the block which you think throws and we see if we can just ignore it? |
Beta Was this translation helpful? Give feedback.
-
How are you running Renovate?
If using the hosted app, please skip to the next section.
Otherwise, if self-hosted, please complete the following:
Please select which platform you are using:
Renovate version: 25.52.5 (gitlab template v1.46.8)
Describe the bug
Renovate exits with an error trying to update an existing MR, going from
"@gitbeaker/node": "24.3.0"
to"@gitbeaker/node": "31.0.0"
. The error looks to happen while processing the unicode text in the changelogs.My assumption is that something on the changelogs of gitbeaker is tripping renovate's parsing.
Relevant debug logs
Click me to see logs
Have you created a minimal reproduction repository?
Please read the minimal reproductions documentation to learn how to make a good minimal reproduction repository.
If this doesn't ring a bell already, I will try to create a repro case on gitlab.com.
Additional context
...
/cc @max-wittig @bufferoverflow @fgreinacher @ercanucan
Beta Was this translation helpful? Give feedback.
All reactions