Closed
Description
What version of Go are you using (go version
)?
$ go version go version devel +1cd724acb6 Tue Feb 18 20:21:35 2020 +0000 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env
)?
go env
Output
$ go env GO111MODULE="" GOARCH="amd64" GOBIN="/tmp/tmp.C9u9E1WtXh/bin" GOCACHE="/home/myitcv/.cache/go-build" GOENV="/home/myitcv/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/tmp/tmp.mUJezyZXP9" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/myitcv/gos" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/myitcv/gos/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/tmp/tmp.C9u9E1WtXh/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build018847515=/tmp/go-build -gno-record-gcc-switches"
What did you do?
As of:
$ date
Sun 23 Feb 20:12:11 GMT 2020
github.com/myitcvscratch/main2@latest
resolves to v0.0.0-20200223195030-0e559444dd31
whereas github.com/myitcvscratch/main2@master
resolves to v0.0.0-20200223200030-a2adf1d5f0a7
According to the docs on proxy.golang.org (which match my understanding), after a minute the cache should have expired to update @latest
, but I did not see this.
Only some time (I checked 15 mins) later did @latest
update.
Was I just being too impatient here, has the cache time increased, or was there an issue?
cc @heschik @hyangah