Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: add inprogress activity

Andras Bacsai00ae88b6b6f0
diff --git a/app/Actions/RemoteProcess/RunRemoteProcess.php b/app/Actions/RemoteProcess/RunRemoteProcess.php
index 038b681a8b..fbd62df916 100644
--- a/app/Actions/RemoteProcess/RunRemoteProcess.php
+++ b/app/Actions/RemoteProcess/RunRemoteProcess.php
@@ -41,6 +41,9 @@ class RunRemoteProcess
public function __invoke(): ProcessResult
{
+ $this->activity->properties = $this->activity->properties->merge([
+ 'status' => ProcessStatus::IN_PROGRESS,
+ ]);
$this->timeStart = hrtime(true);
$processResult = Process::run($this->getCommand(), $this->handleOutput(...));