aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-08-23 16:53:40 +0200
committerAleksandr Nogikh <nogikh@google.com>2023-08-24 14:19:36 +0000
commit715764e51ab3c5d543f82de7cd651388f1be4eec (patch)
treedb63a433f93fa744e20c6e31a27bafaf53767e19
parentd546128b82296d7e342534d233cde536aaf58435 (diff)
dashboard: skip invalidated backport bisections
-rw-r--r--dashboard/app/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/app/main.go b/dashboard/app/main.go
index d9e3b9fcf..e6a3acd98 100644
--- a/dashboard/app/main.go
+++ b/dashboard/app/main.go
@@ -711,7 +711,7 @@ func loadAllBackports(c context.Context) ([]*rawBackport, error) {
if !job.IsCrossTree() {
return nil, fmt.Errorf("job %s: expected to be cross-tree", jobKeys[i])
}
- if len(job.Commits) != 1 {
+ if len(job.Commits) != 1 || job.InvalidatedBy != "" {
continue
}
jobCommit := job.Commits[0]