Skip to content

Commit 11eee8f

Browse files
Move new errors message to summary
1 parent 0dd5562 commit 11eee8f

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

site/src/comparison.rs

Lines changed: 13 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,19 @@ impl ComparisonSummary {
407393
write!(result, "- ").unwrap();
408394
change.summary_line(result, link)
409395
}
396+
397+
if !self.new_errors.is_empty() {
398+
write!(
399+
result,
400+
"- Benchmarks {} started failing to build",
401+
self.new_errors
402+
.keys()
403+
.map(|k| k.as_str())
404+
.collect::<Vec<_>>()
405+
.join(", ")
406+
)
407+
.unwrap();
408+
}
410409
}
411410
}
412411

0 commit comments

Comments
 (0)