You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd/gopherbot: handle gone issues in setMilestone too
The "label proposals" task adds the "Proposal" label and sets the
"Proposal" milestone, whichever is missing, to proposal issues.
It got stuck processing a no-longer-existing proposal issue 67913:
milestone-Proposal
https://go.dev/issue/67913 proposal: exp/xerrors: add try and handle
2024/06/17 15:24:10 label proposals: PATCH https://github.com/api/repos/golang/go/issues/67913: 404 Not Found []
2024/06/17 15:24:10 gopherbot ran in 33.445731908s
2024/06/17 15:24:10 sleeping 30s after previous error.
Because it happens to set the milestone first, and setting the milestone
was missing the path to add to deletedIssues to work around for maintner
not reflecting deleted issues in its corpus (see go.dev/issue/30184).
Add that path to setMilestone. Also make the task add label first,
set milestone second, for consistency with the task's description.
While here, also mark a few issues that are known to be gone.
Tested in -dry-run mode.
For golang/go#28320.
Updates golang/go#30184.
Change-Id: I5878c944c8e8f52ab375cd433032953fb8a58d54
Reviewed-on: https://go-review.googlesource.com/c/build/+/593056
Reviewed-by: Dmitri Shuralyov <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Auto-Submit: Dmitri Shuralyov <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
0 commit comments