Skip to content

Revert "Adding tracking of properties with relevant events. (#4461)"#4663

Merged
rainersigwald merged 1 commit intodotnet:vs16.3from
livarcocc:revert_tracking_properties_change
Aug 26, 2019
Merged

Revert "Adding tracking of properties with relevant events. (#4461)"#4663
rainersigwald merged 1 commit intodotnet:vs16.3from
livarcocc:revert_tracking_properties_change

Conversation

@livarcocc
Copy link
Copy Markdown
Contributor

@livarcocc livarcocc commented Aug 26, 2019

Description

This reverts commit 7150dc9.

The change being reverted is this:

This change introduces opt-in functionality that will track property usage and generate three events:

Environment Variables Read (new)
Uninitialized Properties Read (new)
Property Reassigned (already exists)

Opt-in for these events is via the environment variable, MSBuildLogPropertyTracking.

Customer Impact

Customer won't be able to use the functionality being reverted above. Impact should be minimal, no MSBuild has been released that contains these changes yet.

Regression

This caused MSBuild to allocate a lot more during evaluation and is failing RPS tests in the MSBuild insertion into VS. Without reverting this change, we won't be able to insert into VS.

Risk

Low. This was a clean revert.

@rainersigwald @benvillalobos would this cause another change to the log viewer or are we good there?

// - new record kinds: EnvironmentVariableRead, PropertyReassignment, UninitializedPropertyRead
internal const int FileFormatVersion = 8;
// - Include ProjectStartedEventArgs.GlobalProperties
internal const int FileFormatVersion = 7;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This means the viewer doesn't need to be updated. I think we should, however, update to 9 next time we change it, just in case anyone has picked up the change.

@benvillalobos
Copy link
Copy Markdown
Member

@livarcocc this shouldn't affect the log viewer

@jeffkl
Copy link
Copy Markdown
Contributor

jeffkl commented Aug 26, 2019

/cc @AndyGerlicher

@rainersigwald rainersigwald added the Approved to merge Approved by .NET Tactics for servicing or QB mode checkins label Aug 26, 2019
@rainersigwald rainersigwald merged commit faf5e5d into dotnet:vs16.3 Aug 26, 2019
maneely added a commit to maneely/msbuild that referenced this pull request Jan 8, 2020
rainersigwald pushed a commit to maneely/msbuild that referenced this pull request Feb 25, 2020
…otnet#4461)" (dotnet#4663)"

This reverts commit faf5e5d.

Fixing merge error in a comment.

Fix another merge issue.

Merge fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved to merge Approved by .NET Tactics for servicing or QB mode checkins Area: Performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants