Renovate CE: Autodiscover includes all repos in failure modes #25269
-
How are you running Renovate?Self-hosted Renovate If you're self-hosting Renovate, tell us what version of Renovate you run.ghcr.io/mend/renovate-ce:6.2.0 If you're self-hosting Renovate, select which platform you are using.github.com Was this something which used to work for you, and then stopped?I am trying to get this working for the first time Describe the problemWhen I launched our Renovate prod instance it sent onboarding PRs for all of our repos. I expected that Our dev instance and prod instance are different GitHub Apps. The root cause appears to be that when no repos match the filtering, The effective config, from the first "Combined config" log, is: Combined config{
"config": {
"autodiscover": true,
"autodiscoverTopics": [
"renovate"
],
"binarySource": "install",
"dependencyDashboardFooter": " - [ ] <!-- manual job -->Check this box to trigger a request for Renovate to run again on this repository",
"endpoint": "https://api.github.com/",
"gitAuthor": "...",
"onboarding": true,
"onboardingConfig": {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [ "config:recommended" ]
},
"platform": "github",
"repositories": [
".../..."
],
"requireConfig": "required",
"token": "***********",
"username": "..."
},
"hostname": "...",
"level": 20,
"logContext": "...",
"name": "renovate",
"pid": 257,
"time": "2023-10-17T00:28:59.168Z",
"v": 0
} The log where things diverge from dev is:
versus the expected:
I believe that this is because in autodiscoverRepositories() the early exits do not clear Here's the normal exit for autodiscoverRepositories():
Here's the exit that I encountered:
Discovered has no length because no repos are tagged with the production topic In the early exit, There are several early exits in Relevant debug logsLogs
Have you created a minimal reproduction repository?I have explained in the description why a minimal reproduction is impossible |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
Beta Was this translation helpful? Give feedback.
Sorry, I missed that part.
This is the wrong repo for a CE problem with autodiscover, so I will close this and you'll need to open a new https://github.com/mend/renovate-ce-ee/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
Autodiscover is different in CE/EE and does not support all the options.