Renovate repeatedly fails to update go.sum for some projects because go get ...
fails. Possible caching bug?
#32284
-
How are you running Renovate?Self-hosted Renovate If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.GitLab Enterprise Edition v17.4.2-ee (self-hosted) / Renovate 38.130.2 Please tell us more about your question or problemBackgroundBefore diving into the problem, I'd first like to provide a bit more background on how our organization runs Renovate. We self-host GitLab and run Renovate from a central project once an hour via a scheduled pipeline. We use Renovate:
variables:
RENOVATE_BASE_DIR: $CI_PROJECT_DIR/renovate
parallel:
matrix:
- RENOVATE_AUTODISCOVER_FILTER:
- appian/dev/a*
- appian/dev/b*
...
- appian/dev/y*
- appian/dev/z*
cache:
key: ${RENOVATE_AUTODISCOVER_FILTER}-renovate
paths:
- $RENOVATE_BASE_DIR/cache ProblemOur team owns multiple Go projects and frequently runs into problems with Renovate updating
StoryTo detail the problem, I'd like to recount the story of how Renovate handled the dependency update of the same dependency for 3 of our projects. The projects were:
The dependency update was Part 1: Renovate ran for the first time after
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Isn't the question "why is go get failing?" Renovate is calling go. You can see the command in the logs. Similarly it would be a go cache, not a renovate cache (it's data saved and loaded by go and not renovate data) |
Beta Was this translation helpful? Give feedback.
Renovate doesn't do anything special with go's cache. The cache goes to the same place for every repo. Unlike gitlab CI, renovate doesn't compress, copy or restore it ever either.