From 5aed02497cb86393d5ce9ea10331a0cd9f3b4065 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 3 Aug 2023 19:37:33 +0200 Subject: 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. --- dashboard/app/jobs.go | 1 + dashboard/dashapi/dashapi.go | 1 + 2 files changed, 2 insertions(+) (limited to 'dashboard') 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 { -- cgit mrf-deployment