Document "how to determine scope of onboarding PR's changes", when using a large repo (with a truncated PR)? #39448
jamietanna
started this conversation in
Suggest an Idea
Replies: 0 comments
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.
For instance, if you're onboarding Renovate into a large monorepo with many pending updates, the onboarding process can look a little "scary".
Worse, due to platform limits, you may not see all the updates pending, as the onboarding PR is truncated.
(I'll separately raise a feature request for "split onboarding PR into multiple comments")
When looking at this personally, I'll (feel comfortable to) dig into the debug logs and investigate further.
I'll start with:
Within here, you can see, for each package, how many
updatesthey have, and whatupdates.buckets these land into and/or calculate the number of branches throughupdates.branchNameYou may notice that if there are security updates, some of these updates have a
-vulnerabilitybranch suffix, and that the dependency itself has avulnerabilityFixVersionandvulnerabilityFixStrategyfield.A similar view of the branches that Renovate will create (separate to the data we can get out of
packageFiles with updates) is using theBranch summaryorbranches info extended.For instance, we can see all branch names that Renovate would create over time:
We can see below a number of
inactiveBranches, which are not yet created.Additionally, we can see a bit more information about the updates that each branch will contain:
In the case that your Onboarding PR's comment was truncated, you'd be able to see i.e.:
Looking at
branches info extended, I'd (personally) feel comfortable about how to gauge the number of pending updates.But I wonder if we have a more user-friendly way of showing this in our logs?
I wonder where the best place to document this is?
(Related: #39446)
Beta Was this translation helpful? Give feedback.
All reactions