Skip to content

Commit c7147e2

Browse files
author
matt
committed
Tweaked state/status rollup to better match the spec in ticket 6606a69c0a1459bfb5954ad02d918dd6a072b59f
1 parent cbb42a2 commit c7147e2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

db.scm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3351,6 +3351,10 @@
33513351
(not (equal? x "COMPLETED")))
33523352
all-curr-states))
33533353
(newstate (cond
3354+
((> running 0)
3355+
"RUNNING") ;; anything running, call the situation running
3356+
((> bad-not-started 0) ;; we have an ugly situation, it is completed in the sense we cannot do more.
3357+
"COMPLETED")
33543358
((> (length non-completes) 0) ;;
33553359
(car non-completes)) ;; (remove (lambda (x)(equal? "COMPLETED" x)) all-curr-states)))
33563360
(else

0 commit comments

Comments
 (0)