|
-
+
|
{{ formatJobStatus(job.status) }}
|
-
- {{ formatISODate(job.startedAt) }}
+ |
+ {{ formatTime(job.startedAt) }}
|
-
- {{ formatISODate(job.completedAt) }}
+ |
+ {{ formatTime(job.completedAt) }}
|
- {{ job.kind }} |
+ {{ formatJobKind(job.kind) }} |
{{ formatBackend(job) }} |
{{ formatProfile(job) }}
diff --git a/site/frontend/src/pages/status/page.vue b/site/frontend/src/pages/status/page.vue
index 1504fb9eb..0f91fa89a 100644
--- a/site/frontend/src/pages/status/page.vue
+++ b/site/frontend/src/pages/status/page.vue
@@ -122,32 +122,34 @@ function ExpectedCurrentRequestCompletion() {
const now = new Date();
const diffSeconds = differenceInSeconds(estimatedCompleted, now);
- const prettyDisplay = formatSecondsAsDuration(diffSeconds);
+ let expectedEnd: string;
+ if (diffSeconds >= 0) {
+ let remainingSeconds = formatSecondsAsDuration(diffSeconds);
+ expectedEnd = `expected to end in approximately ${remainingSeconds}`;
+ } else {
+ expectedEnd = "is running longer than expected";
+ }
+
+ let kind = "PR";
+ let link;
if (req.requestType === "Release") {
- return (
-
- Current Benchmark for{" "}
-
-
- {" "}
- expected to end in approximately {prettyDisplay}
-
- );
+ link = ;
+ kind = "";
} else {
const url = `https://github.com/rust-lang/rust/pull/${req.pr}`;
- return (
-
- Current Benchmark for PR{" "}
-
-
- #{req.pr}
- {" "}
-
- expected to end in approximately {prettyDisplay}
-
+ link = (
+
+ #{req.pr}
+
);
}
+
+ return (
+
+ Current benchmark for {kind} {link} {expectedEnd}.
+
+ );
}
function PullRequestLink({request}: {request: BenchmarkRequest}) {
|