Skip to content

Commit 752e896

Browse files
Move new errors message to summary
1 parent 0dd5562 commit 752e896

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

site/src/comparison.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -368,20 +368,6 @@ impl ComparisonSummary {
368368

369369
self.write_summary_lines(&mut result, Some(link));
370370

371-
if !comparison.new_errors.is_empty() {
372-
write!(
373-
result,
374-
"- New errors in {}",
375-
comparison
376-
.new_errors
377-
.keys()
378-
.map(|k| k.as_str())
379-
.collect::<Vec<_>>()
380-
.join(", ")
381-
)
382-
.unwrap();
383-
}
384-
385371
result
386372
}
387373

@@ -407,6 +393,20 @@ impl ComparisonSummary {
407393
write!(result, "- ").unwrap();
408394
change.summary_line(result, link)
409395
}
396+
397+
if !comparison.new_errors.is_empty() {
398+
write!(
399+
result,
400+
"- Benchmarks {} started failing to build",
401+
comparison
402+
.new_errors
403+
.keys()
404+
.map(|k| k.as_str())
405+
.collect::<Vec<_>>()
406+
.join(", ")
407+
)
408+
.unwrap();
409+
}
410410
}
411411
}
412412

0 commit comments

Comments
 (0)