Skip to content

Commit eaf3168

Browse files
dmitshurgopherbot
authored andcommitted
cmd/gopherbot: wait for information longer on CherryPickCandidate issues
We've started using WaitingForInfo to identify backport issues that don't need to be reviewed because they're waiting on information. Unlike normal issues, this information can reasonably need more than a month to become available. Avoid the toil of reopening such backport requests each month by extending its deadline. Change-Id: Id2d07f228003dae2032942c0129e162797d4f58d Reviewed-on: https://go-review.googlesource.com/c/build/+/511637 Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Carlos Amedee <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
1 parent 0df0e91 commit eaf3168

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
@@ -1253,6 +1253,11 @@ func (b *gopherbot) closeStaleWaitingForInfo(ctx context.Context) error {
12531253
}
12541254

12551255
deadline := waitStart.AddDate(0, 1, 0) // 1 month
1256+
if gi.HasLabel("CherryPickCandidate") {
1257+
// Cherry-pick candidates may sometimes need to wait for fixes
1258+
// to soak on the order of months, so give them more time.
1259+
deadline = waitStart.AddDate(0, 6, 0)
1260+
}
12561261
if now.Before(deadline) {
12571262
return nil
12581263
}

0 commit comments

Comments
 (0)