Skip to content

Commit

Permalink
add step logic to services as well
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3r committed Aug 7, 2024
1 parent 15b46f9 commit 883b484
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/elm/Pages/Org_/Repo_/Build_/Services.elm
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,13 @@ update shared route msg model =
( { model | services = RemoteData.succeed services }
, services
|> List.filter (\service -> List.member service.number model.viewing)
-- note: it's possible that there are log updates in flight
-- even after the service has a status of finished, especially
-- for large logs. we get the most recent version of logs
-- on page load or when a service log is expanded, so potentially
-- seeing incomplete logs here is only a concern when someone
-- is following the logs live.
|> List.filter (\service -> service.finished == 0)
|> List.map
(\service ->
Effect.getBuildServiceLog
Expand Down

0 comments on commit 883b484

Please sign in to comment.