From 60243ad6195ce93e9f05b8a0218206a751aec66b Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Tue, 17 Mar 2026 10:28:44 -0400 Subject: [PATCH] Add Deploy/Redeploy button and fix actor replacement on redeployment Instances page gains Deploy button that triggers flattening pipeline and sends config to site. Button shows "Redeploy" when instance is stale. Fixed actor name collision on redeployment by scheduling deferred recreation after Context.Stop. --- .../Pages/Deployment/Instances.razor | 27 +++++++++++++++++++ .../Actors/DeploymentManagerActor.cs | 7 ++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/src/ScadaLink.CentralUI/Components/Pages/Deployment/Instances.razor b/src/ScadaLink.CentralUI/Components/Pages/Deployment/Instances.razor index 21c14d9..7e175af 100644 --- a/src/ScadaLink.CentralUI/Components/Pages/Deployment/Instances.razor +++ b/src/ScadaLink.CentralUI/Components/Pages/Deployment/Instances.razor @@ -165,6 +165,9 @@ } + @if (inst.State == InstanceState.Enabled) {