onQueue(deployment_queue()); } public function handle(): void { try { CleanupCancelledDeployment::run($this->deployment, $this->teamId); } catch (Throwable $e) { \Log::warning("Failed to clean up superseded deployment {$this->deployment->deployment_uuid}: {$e->getMessage()}"); } finally { if ($this->deployment->application) { queue_next_deployment($this->deployment->application, $this->deployment->server_id); } } } }