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(
15701570 let num_improvements = improvements. len ( ) ;
15711571 let improvements_suffix = if num_improvements == 1 { "" } else { "s" } ;
15721572
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+
15731578 format ! (
15741579 r#####"# {date} Triage Log
15751580
15761581TODO: Summary
15771582
15781583Triage 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)
15801585
15811586{summary}
15821587
@@ -1605,8 +1610,6 @@ TODO: Nags
16051610
16061611"##### ,
16071612 date = chrono:: Utc :: now( ) . format( "%Y-%m-%d" ) ,
1608- first_commit = start,
1609- last_commit = end,
16101613 num_comparisons = num_comparisons,
16111614 num_mixed = mixed. len( ) ,
16121615 regressions = regressions. join( "\n \n " ) ,
You can’t perform that action at this time.
0 commit comments