fix: keep cancellation pending until execution cleanup is confirmed

This commit is contained in:
2026-10-20 15:47:07 +01:00
parent 1cf5156c77
commit b96b9d94a6
26 changed files with 690 additions and 142 deletions
+5 -1
View File
@@ -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(