aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/dashapi
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-03-22 10:37:50 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-03-22 12:00:50 +0100
commit4d9d915eae5984d25a3e7f557106935546a6563f (patch)
tree146efb3a39477941637826d146382335c2cb256e /dashboard/dashapi
parent8f92118cb6b42da17d255fa6f0009194b36d5a80 (diff)
syz-ci: fix filling of kernel commit in bisection jobs
There is a bit of a mess: dashboard expects the start commit in build info, but syz-ci sends the resulting cause commit. Moreover for inconclusive bisection the commit is not filled at all. Fill start commit in build info on start. Update #501
Diffstat (limited to 'dashboard/dashapi')
-rw-r--r--dashboard/dashapi/dashapi.go26
1 files changed, 14 insertions, 12 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go
index d53786476..238e1742a 100644
--- a/dashboard/dashapi/dashapi.go
+++ b/dashboard/dashapi/dashapi.go
@@ -126,18 +126,20 @@ type JobPollReq struct {
}
type JobPollResp struct {
- ID string
- Type JobType
- Manager string
- KernelRepo string
- KernelBranch string
- KernelCommit string
- KernelConfig []byte
- SyzkallerCommit string
- Patch []byte
- ReproOpts []byte
- ReproSyz []byte
- ReproC []byte
+ ID string
+ Type JobType
+ Manager string
+ KernelRepo string
+ KernelBranch string
+ KernelCommit string
+ KernelCommitTitle string
+ KernelCommitDate time.Time
+ KernelConfig []byte
+ SyzkallerCommit string
+ Patch []byte
+ ReproOpts []byte
+ ReproSyz []byte
+ ReproC []byte
}
type JobDoneReq struct {