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

Add a error/recap summary at the end of the build #11105

Merged
merged 7 commits into from
Dec 11, 2024

Conversation

MichalPavlik
Copy link
Member

@MichalPavlik MichalPavlik commented Dec 6, 2024

Partially fixes #10681

Context

In a very large build, errors may have scrolled well offscreen before the end of the build, leaving a terminal window with a sea of green "project succeeded" messages followed by an unhelpful "build failed with 8 errors".

Changes Made

TL can now display a summary of all errors and warnings in a structured way when the build finishes. For now, the only way to enable it is to use the logger parameter -tlp:Summary. A heuristic method to determine when to automatically provide the summary will likely be added in a different PR.

Testing

Manual testing + new automated test.
image

@MichalPavlik MichalPavlik merged commit 79b71c9 into main Dec 11, 2024
10 checks passed
@MichalPavlik MichalPavlik deleted the dev/mipavlik/tl-build-summary branch December 11, 2024 15:38
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.

Provide error recap/summary at the end of a large build in tl
4 participants