From 43dd7c2f6b0771b277c22e3a68107bb1f6a8a958 Mon Sep 17 00:00:00 2001 From: Jan Krivanek Date: Sat, 27 Jul 2024 11:10:39 +0200 Subject: [PATCH] Fix BuildRequest (#10455) --- .../BackEnd/Components/RequestBuilder/RequestBuilder.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Build/BackEnd/Components/RequestBuilder/RequestBuilder.cs b/src/Build/BackEnd/Components/RequestBuilder/RequestBuilder.cs index 996984c8ce7..cd819c32d26 100644 --- a/src/Build/BackEnd/Components/RequestBuilder/RequestBuilder.cs +++ b/src/Build/BackEnd/Components/RequestBuilder/RequestBuilder.cs @@ -1123,7 +1123,7 @@ private async Task BuildProject() { buildCheckManager.StartProjectEvaluation( BuildCheckDataSource.BuildExecution, - new AnalysisLoggingContext(_nodeLoggingContext.LoggingService, _requestEntry.Request.ParentBuildEventContext), + new AnalysisLoggingContext(_nodeLoggingContext.LoggingService, _requestEntry.Request.BuildEventContext), _requestEntry.RequestConfiguration.ProjectFullPath); _requestEntry.RequestConfiguration.LoadProjectIntoConfiguration( @@ -1148,13 +1148,13 @@ private async Task BuildProject() { buildCheckManager.EndProjectEvaluation( BuildCheckDataSource.BuildExecution, - _requestEntry.Request.ParentBuildEventContext); + _requestEntry.Request.BuildEventContext); } _projectLoggingContext = _nodeLoggingContext.LogProjectStarted(_requestEntry); buildCheckManager.StartProjectRequest( BuildCheckDataSource.BuildExecution, - _requestEntry.Request.ParentBuildEventContext, + _requestEntry.Request.BuildEventContext, _requestEntry.RequestConfiguration.ProjectFullPath); try @@ -1226,7 +1226,7 @@ private async Task BuildProject() { buildCheckManager.EndProjectRequest( BuildCheckDataSource.BuildExecution, - new AnalysisLoggingContext(_nodeLoggingContext.LoggingService, _requestEntry.Request.ParentBuildEventContext), + new AnalysisLoggingContext(_nodeLoggingContext.LoggingService, _requestEntry.Request.BuildEventContext), _requestEntry.RequestConfiguration.ProjectFullPath); }