From 225282ae5b47162f01342d92ff0e4364413b118e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 7 Feb 2026 17:08:43 +0000 Subject: [PATCH 1/2] Initial plan From d03cfebf417b98e1dafc1f36ee034fd367770cc5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 7 Feb 2026 17:19:42 +0000 Subject: [PATCH 2/2] Add cleanup of temp directory on extraction failure Co-authored-by: sak0a <24781653+sak0a@users.noreply.github.com> --- src/Console/Commands/DevPullCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Console/Commands/DevPullCommand.php b/src/Console/Commands/DevPullCommand.php index 370585d8..a33ff402 100644 --- a/src/Console/Commands/DevPullCommand.php +++ b/src/Console/Commands/DevPullCommand.php @@ -108,6 +108,7 @@ public function handle(): int } catch (\Throwable $e) { $this->error("Extraction failed: {$e->getMessage()}"); @unlink($tmpZip); + $this->deleteDirectory($tmpDir); return 1; }