Skip to content
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

x/pkgsite: patch versions not indexed after requesting them too early #55272

Closed
heaths opened this issue Sep 20, 2022 · 2 comments
Closed

x/pkgsite: patch versions not indexed after requesting them too early #55272

heaths opened this issue Sep 20, 2022 · 2 comments

Comments

@heaths
Copy link

heaths commented Sep 20, 2022

What is the URL of the page with the issue?

https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azcertificates@v0.7.1

What is your user agent?

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1379.1

Screenshot

image

What did you do?

Due to a snafu with our publishing pipeline and timing, I requested the package version be indexed before it was actually ready, as you can see with this non-existent package page as an example:

image

What did you expect to see?

A page like the screenshot directly above to re-request an index.

What did you see instead?

It's been a while since v0.7.1 was published, but even after Ctrl+F5 or opening InPrivate tabs, I'm still getting a 404 and no chance to request an index again. If I use curl to POST a request to pkg.go.dev/fetch/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azcertificates@v0.7.1 it also returns a 404. The module version is actually published now.

Looking at similar bugs, I found #37002 but in this case the tag wasn't event pushed to our repo yet, so it's not an old commit because the tag didn't yet exist.

@gopherbot gopherbot added this to the Unreleased milestone Sep 20, 2022
@heaths
Copy link
Author

heaths commented Sep 20, 2022

At some point since I filed this, I'm getting the option to re-request indexing again, but clicking the button does nothing, even after some time.

image

Normally when I've seen this, it's only taken a couple minutes. If I come back later - about 10 minutes - I get the same page again.

Even after a couple hours, if I issue a curl command, I get roughly the same thing:

$ curl -X POST https://pkg.go.dev/fetch/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azcertificates@v0.7.1
We're still working on “github.com/Azure/azure-sdk-for-go/sdk/keyvault/azcertificates@v0.7.1”. Check back in a few minutes!

@heaths
Copy link
Author

heaths commented Sep 20, 2022

After several hours - much longer than usual, and after an atypical experience (granted, started with me jumping the line requesting too early) - the packages are finally indexed.

@heaths heaths closed this as not planned Won't fix, can't repro, duplicate, stale Sep 20, 2022
@golang golang locked and limited conversation to collaborators Sep 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants