Reduce cancel lag with non-blocking cleanup in v1.1.25
Build and Release / build (push) Has been cancelled
Build and Release / build (push) Has been cancelled
This commit is contained in:
+3
-1
@@ -193,7 +193,9 @@ async function main(): Promise<void> {
|
||||
assert(cancelItem?.status === "cancelled" || cancelItem?.status === "queued", "Paketabbruch nicht wirksam");
|
||||
}
|
||||
const packageDir = path.join(path.join(tempRoot, "downloads-cancel"), "cancel");
|
||||
assert(!fs.existsSync(path.join(packageDir, "release.part1.rar")), "RAR-Artefakt wurde nicht gelöscht");
|
||||
const cancelArtifact = path.join(packageDir, "release.part1.rar");
|
||||
await waitFor(() => !fs.existsSync(cancelArtifact), 10000);
|
||||
assert(!fs.existsSync(cancelArtifact), "RAR-Artefakt wurde nicht gelöscht");
|
||||
|
||||
console.log("Node self-check erfolgreich");
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user