-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Report eval errors through cli loggers #12095
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
18 commits
Select commit
Hold shift + click to select a range
fbf2750
support reporting evaluation-time errors by making central loggers no…
baronfel d2f9cc8
remove MSBUILD : header from eval-time warnings so that they look nicer
baronfel 5af42e9
Make FileLogger similarly defensive
baronfel 1025578
Add test to pin un-anchored eval error rendering
baronfel 1f88ef9
Try to add logging/clarity to message level tests
baronfel a57d1f4
pull reusable logger up a level to reuse it. minimize diffs on existi…
baronfel 4b497f6
add bootstrap scripts
baronfel db67320
prevent double-registration of CentralLogger instances
baronfel 0aa2658
add non-windows baselines for the new test
baronfel b354a24
Apply suggestion from @Copilot
baronfel e4db314
minor cleanup
baronfel 6095c59
get all non-out-of-proc-tests cases green
baronfel 43e49a0
Split out message level tests into in-proc and out-of-proc examples
baronfel 7979c08
Explicitly make out of proc tests accept every message
baronfel 95ae0df
Update src/Build/Logging/TerminalLogger/TerminalLogger.cs
baronfel 9382032
remove duplicate scripts
baronfel c29c77c
Merge branch 'main' into report-eval-errors-through-cli-loggers
JanProvaznik 803c2ce
Merge branch 'main' into report-eval-errors-through-cli-loggers
JanProvaznik 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
5 changes: 5 additions & 0 deletions
5
....UnitTests/Snapshots/TerminalLogger_Tests.LogEvaluationErrorFromEngine.Linux.verified.txt
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| ]9;4;3;\MSB0001 [31;1merror[m [31;1mEvaluationError[m: An error occurred during evaluation. | ||
| [?25l[1F | ||
| [?25h | ||
| Build [31;1mfailed with 1 error(s)[m in 5.0s | ||
| ]9;4;0;\ |
4 changes: 4 additions & 0 deletions
4
...ld.UnitTests/Snapshots/TerminalLogger_Tests.LogEvaluationErrorFromEngine.OSX.verified.txt
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| MSB0001 [31;1merror[m [31;1mEvaluationError[m: An error occurred during evaluation. | ||
| [?25l[1F | ||
| [?25h | ||
| Build [31;1mfailed with 1 error(s)[m in 5.0s |
5 changes: 5 additions & 0 deletions
5
...nitTests/Snapshots/TerminalLogger_Tests.LogEvaluationErrorFromEngine.Windows.verified.txt
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| ]9;4;3;\MSB0001 [31;1merror[m [31;1mEvaluationError[m: An error occurred during evaluation. | ||
| [?25l[1F | ||
| [?25h | ||
| Build [31;1mfailed with 1 error(s)[m in 5.0s | ||
| ]9;4;0;\ |
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.
Uh oh!
There was an error while loading. Please reload this page.