k8s Go modules cause many requests #41491
Unanswered
jplitza
asked this question in
Request Help
Replies: 1 comment 3 replies
-
|
Do you have any caching set up? (related) If you're running the CLI from fresh each time, with no caching, you'll hit this yes - on the Mend-hosted apps, we have a Redis instance set up to cache these lookups, so it's reduced impact |
Beta Was this translation helpful? Give feedback.
3 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.
-
How are you running Renovate?
Self-hosted Renovate CLI
Which platform you running Renovate on?
GitLab (.com or self-hosted)
Which version of Renovate are you using?
43.11.0
Please tell us more about your question or problem
Renovate Bot seems to make a request to the configured
$GOPROXY(orproxy.golang.orgif unset) for every version of every dependency that is to be inspected.There are Go modules with hundreds of versions. Particularly the
k8s.io/*andsigs.k8s.io/*modules:And since indirect dependencies seem to be checked as well, our repository with 56 dependencies on k8s modules causes almost 20k requests to the
$GOPROXYon each scan. This seems excessive, especially if they hit the community-provided (default)proxy.golang.org.AFAICS, the requests for the individual versions are needed to fetch the digest and the release timestamp, both of which shouldn't matter for versions not selected to be updated to.
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions