3 writes to NodeId
Microsoft.Build (3)
BackEnd\Components\Scheduler\ScheduleResponse.cs (3)
132NodeId = nodeId; 145NodeId = node; 157NodeId = node;
14 references to NodeId
Microsoft.Build (12)
BackEnd\BuildManager\BuildManager.cs (4)
2704_nodeManager!.SendData(response.NodeId, response.Unblocker); 2737if (!_nodeIdToKnownConfigurations.TryGetValue(response.NodeId, out HashSet<int>? configurationsOnNode) || 2741_nodeManager!.SendData(response.NodeId, configCache[response.BuildRequest.ConfigurationId]); 2745_nodeManager!.SendData(response.NodeId, response.BuildRequest);
BackEnd\Components\Scheduler\Scheduler.cs (4)
1885TraceScheduler("Reporting results for request {0} with parent {1} to node {2} from cache.", request.BuildRequest.GlobalRequestId, request.BuildRequest.ParentGlobalRequestId, response.NodeId); 1886if (response.NodeId != InvalidNodeId) 1892if (!_schedulingData.IsNodeWorking(response.NodeId)) 1894ResumeReadyRequestIfAny(response.NodeId, responses);
BackEnd\Components\Scheduler\ScheduleResponse.cs (4)
238return $"Act: {Action} Node: {NodeId} Request: {Unblocker.BlockedRequestId}"; 241return $"Act: {Action} Node: {NodeId} Request: {BuildRequest.GlobalRequestId} Parent {BuildRequest.ParentGlobalRequestId}"; 244return $"Act: {Action} Node: {NodeId} Request: {BuildRequest.GlobalRequestId} Parent {BuildRequest.ParentGlobalRequestId} Configuration: {BuildRequest.ConfigurationId}"; 247return $"Act: {Action} Node: {NodeId} Request: {BuildRequest.GlobalRequestId} Parent {BuildRequest.ParentGlobalRequestId} Configuration: {BuildRequest.ConfigurationId}";
Microsoft.Build.Engine.UnitTests (2)
BackEnd\Scheduler_Tests.cs (2)
561Assert.Equal(Scheduler.InProcNodeId, response[0].NodeId); 894results[1].NodeId.Should().Be(1);