Skip to content
This repository was archived by the owner on Apr 17, 2019. It is now read-only.

Commit 098a2c3

Browse files
committed
Health computation should ignore flakes
1 parent fe0124f commit 098a2c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mungegithub/mungers/submit-queue.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,8 @@ func (sq *SubmitQueue) updateHealth() {
434434
Jobs: map[string]bool{},
435435
}
436436
for job, status := range sq.e2e.GetBuildStatus() {
437-
newEntry.Jobs[job] = status.Status == "Stable"
437+
// Ignore flakes.
438+
newEntry.Jobs[job] = status.Status != "Not Stable"
438439
}
439440
sq.healthHistory = append(sq.healthHistory, newEntry)
440441
// Now compute the health structure so we don't have to do it on page load

0 commit comments

Comments
 (0)