refactor(deploy): retire cross-cluster DeployInstanceCommand wire path (config now fetched)

This commit is contained in:
Joseph Doherty
2026-06-26 14:32:47 -04:00
parent 5c2db9fe70
commit 3e64959582
7 changed files with 24 additions and 92 deletions
@@ -25,20 +25,6 @@ public class SiteCommunicationActorTests : TestKit
{
}
[Fact]
public void DeployCommand_ForwardedToDeploymentManager()
{
var dmProbe = CreateTestProbe();
var siteActor = Sys.ActorOf(Props.Create(() =>
new SiteCommunicationActor("site1", _options, dmProbe.Ref)));
var command = new DeployInstanceCommand(
"dep1", "inst1", "hash1", "{}", "admin", DateTimeOffset.UtcNow);
siteActor.Tell(command);
dmProbe.ExpectMsg<DeployInstanceCommand>(msg => msg.DeploymentId == "dep1");
}
[Fact]
public void RefreshDeploymentCommand_ForwardedToDeploymentManager()
{