1 write to ProcessId
Aspire.Hosting.RemoteHost (1)
src\Shared\ProcessScope.cs (1)
28
ProcessId
= execution.ProcessId;
15 references to ProcessId
Aspire.Hosting.RemoteHost (13)
Language\IntegrationHostLauncher.cs (8)
164
activity.SetIntegrationHostProcessId(process.
ProcessId
);
168
descriptor.PackageName, registrationId, process.
ProcessId
, _configuration.RegistrationTimeout);
179
descriptor.PackageName, registrationId, process.
ProcessId
, connection.GetHashCode(), _timeProvider.GetElapsedTime(started));
188
$"(attempt {registrationId}, supervisor PID {process.
ProcessId
}). Check its stdout/stderr.", ex);
213
activity.SetIntegrationHostProcessId(process.
ProcessId
);
217
descriptor.PackageName, connection.GetHashCode(), process.
ProcessId
, _configuration.DiscoveryTimeout);
227
$"(supervisor PID {process.
ProcessId
}, connection {connection.GetHashCode()}).", ex);
357
$"Integration host supervisor for '{descriptor.PackageName}' (PID {process.
ProcessId
}, entry '{descriptor.HostEntryPoint}') " +
Language\IntegrationHostProcessLauncher.cs (2)
72
activity.SetIntegrationHostProcessId(process.
ProcessId
);
73
logger.LogInformation("Started integration host supervisor '{Name}' (PID {Pid}).", descriptor.PackageName, process.
ProcessId
);
src\Shared\ProcessScope.cs (3)
30
_logger.LogDebug("Process scope '{Name}' started with supervisor PID {Pid}.", description,
ProcessId
);
51
_logger.LogDebug("Process scope '{Name}' (supervisor PID {Pid}) terminated and cleanup verified.", _description,
ProcessId
);
55
_logger.LogError(ex, "Failed to clean up process scope '{Name}' (supervisor PID {Pid}).", _description,
ProcessId
);
Aspire.Hosting.RemoteHost.Tests (2)
tests\Shared\Processes\ProcessSupervisorTests.cs (2)
102
var guardianIdentity = ProcessTestIdentity.Capture(scope.
ProcessId
);
122
using var observedGuardian = Process.GetProcessById(scope.
ProcessId
);