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

Ensure buildcheck lifetime per build #10649

Merged
merged 1 commit into from
Sep 11, 2024
Merged

Conversation

JanKrivanek
Copy link
Member

Fixes #10317

Context

BuildCheckManager was accessed as a singleton in some cases - this could lead to reusal of configuration and opt-in

Changes Made

  • Got rid of the singleton
  • Ensured that the component is cleared upon build end

Testing

End-2-end test verifying the proper picking of opt-in and editorconfig changes (the test is failing without the fix)

Notes

MSBuild server scenario might need a closer look - more details in the issue

@JanKrivanek JanKrivanek merged commit 4abbd70 into main Sep 11, 2024
10 checks passed
@JanKrivanek JanKrivanek deleted the proto/buildcheck-lifetime branch September 11, 2024 10:44
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.

Ensure lifetime of BuildCheckManager
3 participants