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

Only push output device messages to Test Explorer, don't push logs #4178

Merged
merged 32 commits into from
Dec 4, 2024

Conversation

Youssef1313
Copy link
Member

@Youssef1313 Youssef1313 commented Nov 27, 2024

Logs are intended to be used for diagnosing. They shouldn't be localized and they shouldn't be pushed to Test Explorer.

Fixes #4213

Linked to AB#2275339

Logs are intended to be used for diagnosing. They shouldn't be localized and they shouldn't be pushed to Test Explorer.
Copy link
Member

@Evangelink Evangelink left a comment

Choose a reason for hiding this comment

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

Let's add a test where we have a fake adapter that emits the various messages and check we catch them with the right level.

@Evangelink Evangelink marked this pull request as ready for review November 29, 2024 16:09
Copy link
Contributor

@MarcoRossignoli MarcoRossignoli left a comment

Choose a reason for hiding this comment

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

I think we need another round of analysis on this one

@microsoft-github-policy-service microsoft-github-policy-service bot added Area: Server Mode Area: MTP Belongs to the Microsoft.Testing.Platform core library labels Dec 2, 2024
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Evangelink
Evangelink previously approved these changes Dec 4, 2024
Copy link
Member

@Evangelink Evangelink left a comment

Choose a reason for hiding this comment

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

Some nits and questions but LGTM.

Thanks for the massive work here @Youssef1313! And thanks @MarcoRossignoli for technical consulting <3

@Evangelink Evangelink merged commit aede0da into microsoft:main Dec 4, 2024
8 checks passed
@Youssef1313 Youssef1313 deleted the logging-improvements branch December 4, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Localization Area: MTP Belongs to the Microsoft.Testing.Platform core library Area: Server Mode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Output messages should be forward to clients instead of logs (server mode)
3 participants