kennknowles commented on pull request #12326: URL: https://github.com/apache/beam/pull/12326#issuecomment-736101571
Since you pointed me here, the problem is that there are important transparent caches in the workspace, such as the maven dep downloads. It is slow and wasteful for all parties to hit maven central on every build, but more importantly it is flaky. TBH "pure" caches could/should probably live outside the workspace. I think the Gradle dep cache must be, or we'd see huge flakiness of Gradle jobs. We can clone `--depth 1` to eliminate the costs of the repo history. But I kind of agree with the simple approach of wiping out the workspace to keep it simple and not depend on details of what happens in the workspace. The issue is we need to get the replacement in place first. I think setting up the `.m2` to be outside the workspace is the move in this case. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
