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)
|
(when (and (< 0 starttime)
|
||||||
(not (member "started" existing-status-entries)))
|
(not (member "started" existing-status-entries)))
|
||||||
(list starttime "started"))
|
(list starttime "started"))
|
||||||
(when (and (< 0 stoptime)
|
(when (not (member status-string existing-status-entries))
|
||||||
(not (member status-string existing-status-entries)))
|
(list (if (< 0 stoptime)
|
||||||
(list stoptime status-string)))))))
|
timestamp
|
||||||
|
stoptime)
|
||||||
|
status-string)))))))
|
||||||
|
|
||||||
(define (process-pending-builds conn build-server-id url)
|
(define (process-pending-builds conn build-server-id url)
|
||||||
(for-each
|
(for-each
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue