Skip to content

Commit 5f60bd2

Browse files
committed
cmd/gopherbot: close vscode automatedReport after 7days
gopherbot has been closing issues with "WaitingForInfo" label after one month if the original poster doesn't provide additional info. For automated issue reports landing in the vscode-go repo issue tracker, we want to shorten the threshold. Change-Id: I87ae1111a727950ab1a18bedfb5aaea0b7f818a5 Reviewed-on: https://go-review.googlesource.com/c/build/+/521117 TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> Reviewed-by: Robert Findley <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent f142e55 commit 5f60bd2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmd/gopherbot/gopherbot.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,6 +1258,11 @@ func (b *gopherbot) closeStaleWaitingForInfo(ctx context.Context) error {
12581258
// fixes get prepared and soak, so give them more time.
12591259
deadline = waitStart.AddDate(0, 6, 0)
12601260
}
1261+
if repo.ID().Repo == "vscode-go" && gi.HasLabel("automatedReport") {
1262+
// Automated issue reports have low response rates.
1263+
// Apply shorter timeout.
1264+
deadline = waitStart.AddDate(0, 0, 7)
1265+
}
12611266
if now.Before(deadline) {
12621267
return nil
12631268
}

0 commit comments

Comments
 (0)