Better handle cuirass builds with a stoptime of 0
Use the timestamp instead for the status. Previously no status was being associated with these builds.
This commit is contained in:
parent
2e3276e803
commit
a21d3d3cf7
1 changed files with 5 additions and 3 deletions
|
|
@ -226,9 +226,11 @@ WHERE derivation_output_details.path = $1"
|
|||
(when (and (< 0 starttime)
|
||||
(not (member "started" existing-status-entries)))
|
||||
(list starttime "started"))
|
||||
(when (and (< 0 stoptime)
|
||||
(not (member status-string existing-status-entries)))
|
||||
(list stoptime status-string)))))))
|
||||
(when (not (member status-string existing-status-entries))
|
||||
(list (if (< 0 stoptime)
|
||||
timestamp
|
||||
stoptime)
|
||||
status-string)))))))
|
||||
|
||||
(define (process-pending-builds conn build-server-id url)
|
||||
(for-each
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue