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
@@ -142,8 +142,9 @@ akka {
[Fact]
public async Task ApplyConfigDeploy_EmptyFetchCoords_SkipsFetchAndWrite()
{
// The direct DeployInstanceCommand wire path (retired in Task 14) replicates with
// empty coords; the guard must skip quietly — no FetchAsync("") call, no write.
// The direct DeployInstanceCommand cross-cluster wire path was retired in Task 14.
// This tests the defensive guard: if empty coords arrive, the actor must skip quietly
// — no FetchAsync("") call, no write — rather than erroring.
var fetcher = new FakeConfigFetcher(_ => Task.FromResult("never"));
var actor = CreateReplicationActor(fetcher);