You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
I committed a new change (or released a new version) to a repository, why isn't it showing up when I run go get -u or go list -m --versions?
In order to improve our services' caching and serving latencies, new versions may not show up right away. If you want new code to be immediately available in the mirror, then first make sure there is a semantically versioned tag for this revision in the underlying source repository. Then explicitly request that version via go get module@version. After one minute for caches to expire, the go command will see that tagged version. If this doesn't work for you, please file an issue.
The synchronization you're talking about only works for semantic versions, because you can't tell whether a pseudoversion is a valid @latest by looking at it. We had a go command feature to do that but it was too expensive so we reverted it.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
As of:
github.com/myitcvscratch/main2@latest
resolves tov0.0.0-20200223195030-0e559444dd31
whereasgithub.1485827954.workers.dev/myitcvscratch/main2@master
resolves tov0.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
The text was updated successfully, but these errors were encountered: