Make unstable log output stable using explicit sorting #40091
Closed
Bananeweizen
started this conversation in
Suggest an Idea
Replies: 2 comments 3 replies
-
|
Sounds very reasonable and agreed. I wonder what other areas we've got that would make it simpler to diff We probably don't want to always sort every object we're given in a stable way, due to increased performance impact, but @viceice @zharinov any thoughts? |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Apologies for the delay - #41509 should fix this! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Tell us more.
When comparing the logs from different runs of renovate, I noticed that the following "managers" section has no stable sort order, therefore it always leads to unwanted deltas in log comparisons. These logs are from 2 runs with the same renovate version and config, but they differ in how "pip_requirements" and "pre-commit" are sorted.
I'm not sure but it might be related to the asynchronous code in
renovate/lib/workers/repository/extract/index.ts
Lines 56 to 76 in 478f46f
Beta Was this translation helpful? Give feedback.
All reactions