Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
x/playground: deploy may take over 10 minute and timeout #28046
I've ran into this when deploying the Go Playground with Go 1.11.1 recently (see CL 140097), where the cloud build failed because it took more than the default 10 minute timeout:
In the recent past, some builds have taken around 9~ minutes. They were faster earlier on.
People have run into the 10 minute timeout in other contexts too. E.g., see https://stackoverflow.com/questions/50046545/google-app-engine-build-timed-out-during-deployment.
The easiest temporary workaround I'm currently aware of is to increase the timeout before the
Note that it's a global config value.
I wonder if this build command includes building the docker container? I have noticed that building playground docker container became very slow. Specifically fetching packages is slow. Since I was not sure if it was my network, I did not create ticket for that.
Yes, it does. That's the part that takes up to 8-9 minutes.
I didn't notice that to be the slow part, but thanks for pointing out. I'll watch it more closely next time.