-
-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hook up GOPATH to named_caches? #13390
Labels
backend: Go
Go backend-related issues
Comments
More concretely, we have two uses cases for this:
pants/src/python/pants/backend/go/util_rules/third_party_pkg.py Lines 185 to 197 in 184d51e
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Downloading third-party dependencies is proving really slow with Go. Over two minutes for https://github.com/kubernetes-sigs/external-dns
Our current implementation of third-party packages does not preserve the benefits of downloads across Pants runs. While we cache a particular resolution, if you make one change to
go.mod
orgo.sum
, you have to redo the entire download without leveraging already downloaded modules from earlier.I don't know how to fix this because we probably want to use named_caches, but we do need to populate the chroot with the contents. When populating the chroot with contents, we also would like to symlink a la #12716.
The text was updated successfully, but these errors were encountered: