diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-04-27 12:20:55 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-04-28 14:53:23 +0200 |
| commit | 5078d0768a75f40ee00eaed6e7171e79f42f4b8e (patch) | |
| tree | 8de598f447e9399e37d406f9e29a350fa86cf0fe | |
| parent | 99a64946f423cdca21ebb353acfb69f4df9b134c (diff) | |
dashboard: recognize tree origin testing jobs
For now let's just keep them in the patch testing requests list and give
them a different name. Later we'll group the information in a much more
explicit way.
| -rw-r--r-- | dashboard/app/main.go | 2 | ||||
| -rw-r--r-- | dashboard/app/templates.html | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/dashboard/app/main.go b/dashboard/app/main.go index 0e5416eb8..57848c7da 100644 --- a/dashboard/app/main.go +++ b/dashboard/app/main.go @@ -367,6 +367,7 @@ type uiJob struct { Commits []*uiCommit // for inconclusive bisection Crash *uiCrash Reported bool + TreeOrigin bool } type userBugFilter struct { @@ -1942,6 +1943,7 @@ func makeUIJob(c context.Context, job *Job, jobKey *db.Key, bug *Bug, crash *Cra LogLink: textLink(textLog, job.Log), ErrorLink: textLink(textError, job.Error), Reported: job.Reported, + TreeOrigin: job.TreeOrigin, } if !job.Finished.IsZero() { ui.Duration = job.Finished.Sub(job.LastStarted) diff --git a/dashboard/app/templates.html b/dashboard/app/templates.html index f65b1faca..044f0fd42 100644 --- a/dashboard/app/templates.html +++ b/dashboard/app/templates.html @@ -443,7 +443,9 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the </td> <td> {{if eq $job.Type 0}} - {{if $job.User}}{{$job.User}}{{else}}retest repro{{end}} + {{if $job.User}}{{$job.User}} + {{- else if $job.TreeOrigin}}tree origin + {{- else}}retest repro{{end}} {{else if eq $job.Type 1}} bisect {{else if eq $job.Type 2}} |
