-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Onboarding error with .editorconfig present #18540
Comments
How are you running renovate? are you using the full docker image? Can you test v34 then? So maybe node v14 isn't fully compatible with the new wasm version of editorconfig. |
opened an upstream issue |
We use the slim Docker image. I already tested this with 33.1 and 33.2 and got the same result. Will test with 34 later and give you feedback then. |
@viceice i think u need to put the input file too in your upstream issue |
this seems to be a problem in the input file, so the problem in the library itself on the other hand, we should exit gracefully, and not error with null in this case |
@PhilipAbed Can you create a quick fix PR, which ignores that error? |
@viceice on it, is it ok if i add a test on this? and once the library is fixed the test will fail? :D that's how we know its fixed? |
Yes, add a test which fails on current code and then is fixed by your change |
@rarkins so next time we upload the package editorConfig with the fixed new version, the test will fail and return an actual result instead of undefined and error , then we know the issue is actually fixed |
@eliashaeussler this works fine
|
it's ok to let a test fail, when the lib fixed the issue |
opened another upstream issue: |
🎉 This issue has been resolved in version 34.1.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Thanks guys! |
upstream bug is fixed and released too. 🎉 |
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us what version of Renovate you run.
32.241.4
If you're self-hosting Renovate, select which platform you are using.
GitLab self-hosted
If you're self-hosting Renovate, tell us what version of the platform you run.
GitLab 15.4.2 EE
Was this something which used to work for you, and then stopped?
It used to work, and then stopped
Describe the bug
Since Renovate 32.241.4, onboarding a project with the following
.editorconfig
fails:This worked prior to 32.241.4, so it's probably a side-effect of the
editorconfig
dependency update at #18427.Relevant debug logs
Logs
Formatted error message with stacktrace:
Have you created a minimal reproduction repository?
No reproduction repository
The text was updated successfully, but these errors were encountered: