x/build/cmd/relui: compute Google Groups URL of sent announcement email #50864
Labels
Builders
x/build issues (builders, bots, dashboards)
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
A part of completing the task that sends a release announcement email (#47405) is being able to tell that the email has been received by Google Groups (and moderated as needed), and determining its URL. This URL serves as the canonical announcement URL, and is currently included in the release tweet (see
ReleaseTweet.Announcement
).For example, the email announcing the release of Go 1.17.6 and Go 1.16.13 was sent on Jan 6. It was successfully received, moderated, and its URL became https://groups.google.com/g/golang-announce/c/95ZD3rKn4DI/m/93cyN8F1BAAJ.
We don't find out what the final URL will be on google groups as part of sending the email, this needs to be computed afterwards, so breaking it out as a smaller issue.
Since the announcement group is highly moderated, it's likely sufficient for us to match based on subject. If the subject matches, it must be the right email:
It's expected that emails don't travel instantaneously, so the code would need to run in a loop that tries (with a reasonable deadline) multiple times, and once the email is received by google groups, eventually succeeds.
Options:
CC @golang/release.
The text was updated successfully, but these errors were encountered: