File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
site/frontend/src/pages/status_new Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,18 @@ function PullRequestLink({request}: {request: BenchmarkRequest}) {
123123 );
124124}
125125
126+ function CommitSha({request }: {request: BenchmarkRequest }): string {
127+ if (request .requestType === " Release" ) {
128+ return request .tag ;
129+ }
130+ const sha = request .tag ;
131+ return (
132+ <a href = { ` https://github.com/rust-lang/rust/commit/${sha } ` } >
133+ { sha .substring (0 , 13 )}
134+ </a >
135+ );
136+ }
137+
126138function getJobCompletion(
127139 req : BenchmarkRequest ,
128140 collectors : CollectorConfig []
@@ -174,9 +186,7 @@ loadStatusData(loading);
174186 <tr :class =" getRequestRowClassName(req)" >
175187 <td ><PullRequestLink :request =" req" /></td >
176188 <td >{{ req.requestType }}</td >
177- <td >
178- {{ shortenTag(req.tag) }}
179- </td >
189+ <td ><CommitSha :request =" req" /></td >
180190 <td >
181191 {{ formatStatus(req.status)
182192 }}{{
You can’t perform that action at this time.
0 commit comments