x/build/cmd/releasebot: may select wrong current milestone if there are duplicates #50199
Labels
Builders
x/build issues (builders, bots, dashboards)
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Releasebot looks for the release milestone for the current release, and uses it for various things during the release process.
GitHub allows for multiple milestones to have the same title that differ only in case. If a duplicate open milestone exists (this may happen, for example, if a duplicate milestone is created accidentally), releasebot currently may pick the wrong milestone, which negatively impacts its behavior.
I'll send a CL to update releasebot to look for duplicate open milestones, and report it as a fatal problem if so (since humans will need to figure out how to deal with it), like so:
I'll also close (and after some time passes, delete) the empty second "go1.18" milestone that I understand was created accidentally. (Not to be confused with the real Go1.18 milestone.)
CC @golang/release, @cherrymui.
The text was updated successfully, but these errors were encountered: