diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-03-22 18:38:28 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-03-25 17:00:25 +0100 |
| commit | 52a20ba400d467dc0d53ce984fcdb007afd9aea1 (patch) | |
| tree | fbf087a0d6ad6df0524844bb35bb484a2cb202e3 /dashboard/dashapi/dashapi.go | |
| parent | 2c86e0a54aaace4acb1b63de5d5eca42d49f51e0 (diff) | |
dashboard/app: properly handle build failures
Separate kernel and syzkaller build failures.
Fix logic to understand when a build is fixed:
look if kernel/syzkaller commit changes to understand
if it's a new good build or re-upload of an old build.
Fixes #1014
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
| -rw-r--r-- | dashboard/dashapi/dashapi.go | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go index 238e1742a..fffc0b8e1 100644 --- a/dashboard/dashapi/dashapi.go +++ b/dashboard/dashapi/dashapi.go @@ -54,21 +54,22 @@ func NewCustom(client, addr, key string, ctor RequestCtor, doer RequestDoer, // Build describes all aspects of a kernel build. type Build struct { - Manager string - ID string - OS string - Arch string - VMArch string - SyzkallerCommit string - CompilerID string - KernelRepo string - KernelBranch string - KernelCommit string - KernelCommitTitle string - KernelCommitDate time.Time - KernelConfig []byte - Commits []string // see BuilderPoll - FixCommits []Commit + Manager string + ID string + OS string + Arch string + VMArch string + SyzkallerCommit string + SyzkallerCommitDate time.Time + CompilerID string + KernelRepo string + KernelBranch string + KernelCommit string + KernelCommitTitle string + KernelCommitDate time.Time + KernelConfig []byte + Commits []string // see BuilderPoll + FixCommits []Commit } type Commit struct { |
