-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Log environment-derived properties #7484
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
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
c7e5c0a
Log environment variables read as properties
Forgind 418b210
Only log random environment variables if asked
Forgind fb96241
Don't write a full (empty) dictionary
Forgind cf9c722
Only log nonempty env vars
Forgind d7c03b2
Fix NRE
Forgind 5b58243
Make tests pass
Forgind fdee113
Only find environment properties
Forgind be584ed
PR comments
Forgind 16332a7
Log on first property read
Forgind 2a749b8
Account for prior logging and EvaluationFinished
Forgind 150a442
Tweak tests
Forgind dfe55d7
Random cleanup
Forgind bb51b1f
Make it work across nodes
Forgind 133f760
Merge branch 'main' of https://github.com/dotnet/msbuild into log-env…
Forgind 775a20d
EnvironmentVariableReadEventArgs serialization
Forgind 2fc3b00
Self comments
Forgind 4c0f001
PR comments
Forgind 30cb0e1
Remove IProperty.IsEnvironmentProperty
Forgind d13ef44
Reduce allocations in mainline case
Forgind 01d3362
Break up long line
Forgind 75dc9dd
Make text log align with binlog
Forgind 7914d87
PR feedback
Forgind 47d80f6
Filter from ProjectStarted
Forgind fff4f97
Add test
Forgind 9fb427c
merge
Forgind 0b830e5
Reorder usings
Forgind c2b93b9
Make list instead of yield returning
Forgind d1cad7b
Remove expectation of file
Forgind d4c2f06
Use log file instead
Forgind add1258
Update src/Build/BackEnd/Components/Logging/ProjectLoggingContext.cs
Forgind 679c003
Notice env properties accessed in tasks
Forgind aa46661
PR comments
Forgind ce8dad4
Account for more cases
Forgind 01ee110
One more case
Forgind ad92323
Fix another case
Forgind 0316ba7
Fix condition on task execution
Forgind 44aa9b6
Fixed other cases mentioned in PR
Forgind f7ccf3d
PR comments
Forgind 22525b6
Using statement
Forgind File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update comment on line 4521 (and similar) please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just saw one comment to update—were you thinking I should add more, or was that all?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If that's the only comment about empty environment, it's all we need. I think I thought there were others in other test cases?