Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix /warnaserror false positive overall success #8953

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

rokonec
Copy link
Member

@rokonec rokonec commented Jun 26, 2023

Fixes #8735, possibly #5689, #2845

Context

There were race condition when ProjectFinished log message has been processed after BuildResult event. Even though ProjectFinished log message event is always send before BuildResult event from Node, because ProjectFinished is asyncronously routed by LoggingService reversing order can and do often happen.

Changes Made

Updating _overallBuildSuccess in one place when submission is considered to be done and assumed its final state.

Testing

Can't local repro.

where submission is considered to be done and assumed its final state
@rokonec rokonec requested a review from AR-May June 26, 2023 09:35
Copy link
Member

@AR-May AR-May left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@JanKrivanek JanKrivanek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@JaynieBai JaynieBai merged commit c8c2aaa into dotnet:main Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: /warnaserror false positive overall success
4 participants