31 writes to ConsumerUdsPath
Aspire.Cli.Tests (31)
Backchannel\BackchannelJsonSerializerContextTests.cs (1)
281ConsumerUdsPath = "/terminal/r0.sock",
Commands\TerminalCommandTests.cs (9)
207new() { ReplicaIndex = 0, Label = "myresource-0", ConsumerUdsPath = "unused", IsAlive = true }, 208new() { ReplicaIndex = 1, Label = "myresource-1", ConsumerUdsPath = "unused", IsAlive = true } 294ConsumerUdsPath = "/tmp/does-not-exist-0.sock", 301ConsumerUdsPath = "/tmp/does-not-exist-1.sock", 409ConsumerUdsPath = "/tmp/r0.sock", 514ConsumerUdsPath = "/tmp/frontend-0.host.sock", 528ConsumerUdsPath = "/tmp/frontend-1.host.sock", 557ConsumerUdsPath = "/tmp/backend-0.host.sock", 744ConsumerUdsPath = "/tmp/frontend-0.host.sock",
Commands\TerminalResourceResolverTests.cs (14)
56var endpoint = new TerminalReplicaInfo { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "singleton.sock", IsAlive = true }; 77var first = new TerminalReplicaInfo { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "first.sock", IsAlive = true }; 78var selected = new TerminalReplicaInfo { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "selected.sock", IsAlive = false }; 103var selected = new TerminalReplicaInfo { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "selected.sock", IsAlive = true }; 138var first = new TerminalReplicaInfo { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "first.sock", IsAlive = true }; 139var second = new TerminalReplicaInfo { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "second.sock", IsAlive = true }; 185new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused", IsAlive = true }, 186new() { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "unused", IsAlive = true } 221new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "first.sock", IsAlive = true }, 222new() { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "second.sock", IsAlive = true } 258Replicas = [new() { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "unused", IsAlive = true }] 285Replicas = [new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused", IsAlive = true }] 313new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "first.sock", IsAlive = true }, 314new() { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "second.sock", IsAlive = true }
Commands\TerminalTapePlayCommandTests.cs (7)
143new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused", IsAlive = true }, 144new() { ReplicaIndex = 1, Label = "shell-1", ConsumerUdsPath = "unused", IsAlive = true } 229new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused", IsAlive = true }, 234ConsumerUdsPath = producerConnected ? host.SocketPath : "unused", 285Replicas = [new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = "unused", IsAlive = false }] 336ConsumerUdsPath = host.SocketPath, 572Replicas = [new() { ReplicaIndex = 0, Label = "shell-0", ConsumerUdsPath = socketPath ?? "unused", IsAlive = true }]
6 references to ConsumerUdsPath
aspire (6)
Commands\TerminalAttachCommand.cs (3)
154var viewerApp = new TerminalViewerApp(replica.ConsumerUdsPath, sessionLabel, displayName, viewerOnly, _logger); 163_logger.LogDebug(ex, "Failed to connect to terminal at {Path}", replica.ConsumerUdsPath); 171_logger.LogDebug(ex, "Terminal session connection lost at {Path}", replica.ConsumerUdsPath);
Commands\TerminalTapePlayCommand.cs (1)
152StreamFactory = async ct => await Hmp1Transports.ConnectUnixSocket(replica.ConsumerUdsPath, ct).ConfigureAwait(false),
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (2)
1751/// false, AppHost-known <see cref="TerminalReplicaInfo.ConsumerUdsPath"/>), but the array shape 1790/// <see cref="TerminalReplicaInfo.ConsumerUdsPath"/> populated, so the diagnostic shape