diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-07-17 18:08:56 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-07-25 08:23:29 +0000 |
| commit | e06c669f49a06146914b04a1fbbdd21a0bf1d7b1 (patch) | |
| tree | dc4a1b32a67606741f49d7cbf6a07055b919b86c /dashboard/dashapi/dashapi.go | |
| parent | 67db6ccb7357714a0299fe9f3d192a26bd32ac4e (diff) | |
all: support cross-tree fix bisection
If tree origin assessment code has identified that the bug is not
reproducible in a tree from which we merge/cherry-pick commits, use fix
bisection to identify that commit. This can e.g. be used to find fixing
commits that were not backported from Linux kernel mainline into LTS
branches.
In case of bisection errors, re-do such jobs every 30 days.
Remember in the Bug structure whether there's a fix candidate and return
the details in the full bug info API query.
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
| -rw-r--r-- | dashboard/dashapi/dashapi.go | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go index af4b89e32..28a805edd 100644 --- a/dashboard/dashapi/dashapi.go +++ b/dashboard/dashapi/dashapi.go @@ -176,13 +176,16 @@ func (m ManagerJobs) Any() bool { } type JobPollResp struct { - ID string - Type JobType - Manager string - KernelRepo string - KernelBranch string - MergeBaseRepo string - MergeBaseBranch string + ID string + Type JobType + Manager string + KernelRepo string + // KernelBranch is used for patch testing and serves as the current HEAD + // for bisections. + KernelBranch string + MergeBaseRepo string + MergeBaseBranch string + // Bisection starts from KernelCommit. KernelCommit string KernelCommitTitle string KernelConfig []byte @@ -785,11 +788,12 @@ type LoadFullBugReq struct { } type FullBugInfo struct { - SimilarBugs []*SimilarBugInfo - BisectCause *BugReport - BisectFix *BugReport - Crashes []*BugReport - TreeJobs []*JobInfo + SimilarBugs []*SimilarBugInfo + BisectCause *BugReport + BisectFix *BugReport + Crashes []*BugReport + TreeJobs []*JobInfo + FixCandidate *BugReport } type SimilarBugInfo struct { |
