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
+6
View File
@@ -102,6 +102,12 @@ func TestRetainedStageDiffsAcrossVisitsAndFailures(t *testing.T) {
if ending == "cancel" {
want = "canceled"
}
if ending == "cleanup" {
want = "running"
if !detail.CleanupUnconfirmed || detail.FinishedAt != "" {
t.Fatal("unconfirmed cleanup reported as settled", detail)
}
}
if detail.Status != want {
t.Fatal("diff changed verdict", detail.Status, want)
}