From c66e766d030f0022e930b5ffeac5146b347c942c Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 16 Jan 2018 14:56:29 +0100 Subject: 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. --- dashboard/dashapi/dashapi.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dashboard/dashapi/dashapi.go') 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 { -- cgit mrf-deployment