aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/dashapi/dashapi.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-01-16 14:56:29 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-01-16 14:56:29 +0100
commitc66e766d030f0022e930b5ffeac5146b347c942c (patch)
tree6a9c785e438c6321353f96e8074922b34666b016 /dashboard/dashapi/dashapi.go
parenta84f016776b7a275d1a30e66b5b97f649b4456da (diff)
dashboard/app: remember what crashes we reported for what bugs
We currently can silently switch crashes when report to the next reporting, or test a patch using a repro from a different crash. Remember what crash we reported for a bug and use it in both cases.
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
-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 badf40ef4..e833fbfd2 100644
--- a/dashboard/dashapi/dashapi.go
+++ b/dashboard/dashapi/dashapi.go
@@ -225,6 +225,7 @@ type BugReport struct {
Report []byte
ReproC []byte
ReproSyz []byte
+ CrashID int64 // returned back in BugUpdate
CrashTitle string // job execution crash title
Error []byte // job execution error
@@ -240,6 +241,7 @@ type BugUpdate struct {
DupOf string
FixCommits []string // Titles of commits that fix this bug.
CC []string // Additional emails to add to CC list in future emails.
+ CrashID int64
}
type BugUpdateReply struct {