File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,8 @@ async fn summarize_run(
176
176
let inst_comparison =
177
177
calculate_metric_comparison ( ctxt, & commit, Metric :: InstructionsUser ) . await ?;
178
178
179
- let errors = if !inst_comparison. newly_failed_benchmarks . is_empty ( ) {
179
+ let has_broken_benchmarks = !inst_comparison. newly_failed_benchmarks . is_empty ( ) ;
180
+ let errors = if has_broken_benchmarks {
180
181
let benchmarks = inst_comparison
181
182
. newly_failed_benchmarks
182
183
. keys ( )
@@ -209,7 +210,9 @@ async fn summarize_run(
209
210
& mut message,
210
211
"### Overall result: {}{}\n " ,
211
212
overall_result,
212
- if is_regression {
213
+ if has_broken_benchmarks {
214
+ " - BENCHMARK(S) FAILED"
215
+ } else if is_regression {
213
216
" - ACTION NEEDED"
214
217
} else {
215
218
" - no action needed"
You can’t perform that action at this time.
0 commit comments