fix(artifacts): honor cancellation at the output publication boundary

This commit is contained in:
morluto committed 2026-10-13 15:12:17 +08:00
1 parent 9049dbaf0c
commit e7882b34f4
7 files changed
+103 -16

No files matched your search

+1 -1
View File
@@ -139,7 +139,7 @@ export class WakaruProvider implements JavaScriptRecoveryPort {
await rm(root, { recursive: true, force: true });
root = undefined;
checkRecoveryDeadline(deadline, options?.signal);
await tree.commit();
await tree.commit(options?.signal);
} catch (cause: unknown) {
failed = { cause };
}