aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/dashapi
diff options
context:
space:
mode:
authorSpace Meyer <spm@google.com>2023-05-06 12:18:30 +0200
committerSpace Meyer <git@the-space.agency>2023-06-12 17:16:51 +0200
commit2d0582f691044a9bcc8199bc4bec0aa6979340a2 (patch)
tree77a445fdb1a2ec0fad1bd234a9936228dc6299de /dashboard/dashapi
parentaaed018397bf51a5aaff9a072ba223d81cd3c107 (diff)
dashboard: allow admins to retry individual bisections
Changes to our rootfs, compilers or bisection logic regularly cause regressions in our bisection accuracy. Retrying them currently entails fiddling with the GCP datastore directly or mass deleting all failed bisections. This change will allow us to retry specific bisections with a single click.
Diffstat (limited to 'dashboard/dashapi')
-rw-r--r--dashboard/dashapi/dashapi.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go
index 85ac82b44..d151b1618 100644
--- a/dashboard/dashapi/dashapi.go
+++ b/dashboard/dashapi/dashapi.go
@@ -866,6 +866,7 @@ const (
)
type JobInfo struct {
+ JobKey string
Type JobType
Flags JobDoneFlags
Created time.Time
@@ -895,6 +896,7 @@ type JobInfo struct {
Commit *Commit // for conclusive bisection
Commits []*Commit // for inconclusive bisection
Reported bool
+ InvalidatedBy string
TreeOrigin bool
OnMergeBase bool
}