@@ -25,6 +25,7 @@ impl ExperimentData {
25
25
Status :: Queued => ( "" , "Queued" , true ) ,
26
26
Status :: Running => ( "orange" , "Running" , true ) ,
27
27
Status :: NeedsReport => ( "orange" , "Needs report" , false ) ,
28
+ Status :: Failed => ( "red" , "Failed" , false ) ,
28
29
Status :: GeneratingReport => ( "orange" , "Generating report" , false ) ,
29
30
Status :: ReportFailed => ( "red" , "Report failed" , false ) ,
30
31
Status :: Completed => ( "green" , "Completed" , false ) ,
@@ -62,6 +63,7 @@ pub fn endpoint_queue(data: Arc<Data>) -> Fallible<Response<Body>> {
62
63
let mut queued = Vec :: new ( ) ;
63
64
let mut running = Vec :: new ( ) ;
64
65
let mut needs_report = Vec :: new ( ) ;
66
+ let mut failed = Vec :: new ( ) ;
65
67
let mut generating_report = Vec :: new ( ) ;
66
68
let mut report_failed = Vec :: new ( ) ;
67
69
@@ -77,6 +79,7 @@ pub fn endpoint_queue(data: Arc<Data>) -> Fallible<Response<Body>> {
77
79
Status :: Queued => queued. push ( ex) ,
78
80
Status :: Running => running. push ( ex) ,
79
81
Status :: NeedsReport => needs_report. push ( ex) ,
82
+ Status :: Failed => failed. push ( ex) ,
80
83
Status :: GeneratingReport => generating_report. push ( ex) ,
81
84
Status :: ReportFailed => report_failed. push ( ex) ,
82
85
Status :: Completed => unreachable ! ( ) ,
@@ -87,6 +90,7 @@ pub fn endpoint_queue(data: Arc<Data>) -> Fallible<Response<Body>> {
87
90
experiments. append ( & mut report_failed) ;
88
91
experiments. append ( & mut generating_report) ;
89
92
experiments. append ( & mut needs_report) ;
93
+ experiments. append ( & mut failed) ;
90
94
experiments. append ( & mut running) ;
91
95
experiments. append ( & mut queued) ;
92
96
0 commit comments