-
Notifications
You must be signed in to change notification settings - Fork 11
cmd/go/internal/test: add opt-in file hashing instead of modtime for test caching (w/ git) #151
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
Conversation
| } | ||
| } | ||
| } else if info.Mode().IsRegular() { | ||
| } else if info.Mode().IsRegular() && !useGitHash() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add the same logic in cmd/go/internal/modindex/read.go? That does something very similar and references this code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
per chat, ignoring for now, as we use https://github.com/tailscale/gomodfs/ and it doesn't affect us at least. But we should do that before upstreaming this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(as gomodfs always has predictable modtimes)
4fb143b to
95aa413
Compare
…test caching (w/ git) Updates golang#58571 Updates #150 (cherry picked from commit 64af022)
95aa413 to
485c689
Compare
This pulls in tailscale/go#151, which we want to begin experimenting with. Updates tailscale/go#150 Change-Id: I69aa2631ecf36356430969f423ea3943643a144a Signed-off-by: Brad Fitzpatrick <[email protected]>
This pulls in tailscale/go#151, which we want to begin experimenting with. Updates tailscale/go#150 Change-Id: I69aa2631ecf36356430969f423ea3943643a144a Signed-off-by: Brad Fitzpatrick <[email protected]>
This pulls in tailscale/go#151, which we want to begin experimenting with. Updates tailscale/go#150 Change-Id: I69aa2631ecf36356430969f423ea3943643a144a Signed-off-by: Brad Fitzpatrick <[email protected]>
Updates golang#58571
Updates #150
(cherry picked from commit 64af022)