diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-08-03 19:37:33 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-08-04 09:43:42 +0000 |
| commit | 5aed02497cb86393d5ce9ea10331a0cd9f3b4065 (patch) | |
| tree | ac41faae75a9d7fbb2bbdeadd1b2015381b763de /dashboard | |
| parent | 746212479e443b2bb560dc310bd90300ecf31246 (diff) | |
dashboard: distinguish cross tree job reports
Add a new CrossTree field to dashapi.BisectResult in order to
distinguish fix candidate results from normal fix bisections.
Diffstat (limited to 'dashboard')
| -rw-r--r-- | dashboard/app/jobs.go | 1 | ||||
| -rw-r--r-- | dashboard/dashapi/dashapi.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/dashboard/app/jobs.go b/dashboard/app/jobs.go index 42f39777f..eb6d29b6e 100644 --- a/dashboard/app/jobs.go +++ b/dashboard/app/jobs.go @@ -1322,6 +1322,7 @@ func bisectFromJob(c context.Context, job *Job) (*dashapi.BisectResult, []string CrashLogLink: externalLink(c, textCrashLog, job.CrashLog), CrashReportLink: externalLink(c, textCrashReport, job.CrashReport), Fix: job.Type == JobBisectFix, + CrossTree: job.IsCrossTree(), } for _, com := range job.Commits { bisect.Commits = append(bisect.Commits, &dashapi.Commit{ diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go index 4513c8477..bec6fb15f 100644 --- a/dashboard/dashapi/dashapi.go +++ b/dashboard/dashapi/dashapi.go @@ -485,6 +485,7 @@ type BisectResult struct { CrashLogLink string CrashReportLink string Fix bool + CrossTree bool } type BugListReport struct { |
