aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/dashapi/dashapi.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-05-08 14:59:26 +0200
committerAleksandr Nogikh <wp32pw@gmail.com>2023-05-09 16:23:28 +0200
commite25e3643c228b131336a47ce46e0140001b98bbb (patch)
tree0a57de255a5c6d50543a08a7831d39ac6169020e /dashboard/dashapi/dashapi.go
parent3354d81aa507bee152702604b3104e9d712401d2 (diff)
dashboard: restart failed cause bisections
If the bisection failed due to infrastructure problems, let's retry it in 7 days.
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
-rw-r--r--dashboard/dashapi/dashapi.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go
index 6419894d2..4d5df7e9a 100644
--- a/dashboard/dashapi/dashapi.go
+++ b/dashboard/dashapi/dashapi.go
@@ -219,10 +219,11 @@ const (
type JobDoneFlags int64
const (
- BisectResultMerge JobDoneFlags = 1 << iota // bisected to a merge commit
- BisectResultNoop // commit does not affect resulting kernel binary
- BisectResultRelease // commit is a kernel release
- BisectResultIgnore // this particular commit should be ignored, see syz-ci/jobs.go
+ BisectResultMerge JobDoneFlags = 1 << iota // bisected to a merge commit
+ BisectResultNoop // commit does not affect resulting kernel binary
+ BisectResultRelease // commit is a kernel release
+ BisectResultIgnore // this particular commit should be ignored, see syz-ci/jobs.go
+ BisectResultInfraError // the bisect failed due to an infrastructure problem
)
func (dash *Dashboard) JobPoll(req *JobPollReq) (*JobPollResp, error) {