File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1570,13 +1570,18 @@ async fn generate_report(
1570
1570
let num_improvements = improvements. len ( ) ;
1571
1571
let improvements_suffix = if num_improvements == 1 { "" } else { "s" } ;
1572
1572
1573
+ let first_commit = start;
1574
+ let last_commit = end;
1575
+ let first_commit_prefix = first_commit. chars ( ) . take ( 8 ) . collect :: < String > ( ) ;
1576
+ let last_commit_prefix = last_commit. chars ( ) . take ( 8 ) . collect :: < String > ( ) ;
1577
+
1573
1578
format ! (
1574
1579
r#####"# {date} Triage Log
1575
1580
1576
1581
TODO: Summary
1577
1582
1578
1583
Triage done by **@???**.
1579
- Revision range: [{first_commit }..{last_commit }](https://perf.rust-lang.org/?start={first_commit}&end={last_commit}&absolute=false&stat=instructions%3Au)
1584
+ Revision range: [{first_commit_prefix }..{last_commit_prefix }](https://perf.rust-lang.org/?start={first_commit}&end={last_commit}&absolute=false&stat=instructions%3Au)
1580
1585
1581
1586
{summary}
1582
1587
@@ -1605,8 +1610,6 @@ TODO: Nags
1605
1610
1606
1611
"##### ,
1607
1612
date = chrono:: Utc :: now( ) . format( "%Y-%m-%d" ) ,
1608
- first_commit = start,
1609
- last_commit = end,
1610
1613
num_comparisons = num_comparisons,
1611
1614
num_mixed = mixed. len( ) ,
1612
1615
regressions = regressions. join( "\n \n " ) ,
You can’t perform that action at this time.
0 commit comments