activity) && isset($this->deployment_uuid)) { $this->activity = Activity::query() ->where('properties->type', '=', ActivityTypes::DEPLOYMENT->value) ->where('properties->type_uuid', '=', $this->deployment_uuid) ->first(); } else { $this->activity?->refresh(); } if (data_get($this->activity, 'properties.status') == 'finished' || data_get($this->activity, 'properties.status') == 'failed') { $this->isKeepAliveOn = false; } } }