Skip to content

Commit

Permalink
Merge pull request #8634 from concourse/issue/8610-across-step-state
Browse files Browse the repository at this point in the history
fix across step states bug
  • Loading branch information
xtremerui committed Nov 29, 2022
2 parents b8479dd + 6921162 commit c582b1d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions web/elm/src/Build/StepTree/Models.elm
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,16 @@ mostSevereStepState model stepTree =
activeTreeSteps model stepTree
|> List.foldl
(\step state ->
case stepStateOrdering step.state state of
LT ->
step.state

_ ->
case step.buildStep of
Concourse.BuildStepDo _ ->
state
_ ->
case stepStateOrdering step.state state of
LT ->
step.state

_ ->
state
)
StepStateSucceeded

Expand Down

0 comments on commit c582b1d

Please sign in to comment.