fix: keep cancellation pending until execution cleanup is confirmed
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
||||
RUN_TIME_RANGES,
|
||||
RUN_SORTS,
|
||||
runStateOf,
|
||||
runStatusLabel,
|
||||
runIdentity,
|
||||
versionLabel,
|
||||
progressText,
|
||||
@@ -125,7 +126,10 @@ function renderRunRow(run, now) {
|
||||
});
|
||||
|
||||
const head = h("span", { class: "run-row-head" });
|
||||
head.append(statusIcon(status, status.charAt(0).toUpperCase() + status.slice(1)));
|
||||
head.append(statusIcon(status, runStatusLabel(run)));
|
||||
if (run.cancel_requested || run.cleanup_unconfirmed) {
|
||||
head.append(h("span", { class: "muted", text: runStatusLabel(run) }));
|
||||
}
|
||||
if (run.executing) head.append(h("span", { class: "spinner", "aria-hidden": "true" }));
|
||||
// The pipeline is the list's anchor: it names what ran, before the task title.
|
||||
head.append(
|
||||
|
||||
Reference in New Issue
Block a user