Enhance container status tracking and improve user notifications (#7182)

This commit is contained in:
Andras Bacsai authored and GitHub committed 2025-11-10 13:58:22 +01:00
commit e63a270fea
7 files changed
+215 -5

No files matched your search

@@ -94,6 +94,14 @@ class Heading extends Component
return;
}
// Reset restart count on deployment
$this->application->update([
'restart_count' => 0,
'last_restart_at' => null,
'last_restart_type' => null,
]);
$this->setDeploymentUuid();
$result = queue_application_deployment(
application: $this->application,
@@ -137,6 +145,14 @@ class Heading extends Component
return;
}
// Reset restart count on manual restart
$this->application->update([
'restart_count' => 0,
'last_restart_at' => now(),
'last_restart_type' => 'manual',
]);
$this->setDeploymentUuid();
$result = queue_application_deployment(
application: $this->application,