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/build/app/appengine: automatically hide and stop testing old versions #34097

dmitshur opened this issue Sep 5, 2019 · 2 comments

x/build/app/appengine: automatically hide and stop testing old versions #34097

dmitshur opened this issue Sep 5, 2019 · 2 comments


Copy link

@dmitshur dmitshur commented Sep 5, 2019

We make a change like CL 193477 every 6 months. It's usually a one line diff, but it still needs to be remembered, made, reviewed, and deployed each time.

Maybe it's time we automate it to reduce the amount of manual work to be done for each release.

By now, we have an endpoint MaintnerServiceClient.ListGoReleases that we can use to do this more easily. E.g.:

$ go run list-releases
major:1 minor:13 [...]
major:1 minor:12 [...]

/cc @golang/osp-team

Edit on 2020-02-28: Found a related older issue #21556.

Copy link

@bradfitz bradfitz commented Sep 11, 2019

We don't really even need to make an RPC.

It already reads from the datastore first and then uses that map to filter. We could just encode the policy into the dashboard instead (last two releases) and not list out what the last two releases are. We have the various branch/version parsing code now too, which makes it easier.

Copy link

@gopherbot gopherbot commented Sep 11, 2019

Change mentions this issue: app/appengine: automate the hiding of old release branches

codebien added a commit to codebien/build that referenced this issue Nov 13, 2019
Also, because this is the first CL in this package to add tests, add a
helper to return the right template filename depending on the
environment (go test vs prod) so tests don't panic in init.

Fixes golang/go#34097
Updates golang/go#34116

Change-Id: I4b3e83c2417611cfbdc32e27941dbb90687eb509
Reviewed-by: Dmitri Shuralyov <>
@golang golang locked and limited conversation to collaborators Feb 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants