-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Disable Xharness telemetry for wasm #66698
Conversation
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries Issue DetailsTo prevent some trash logs from getting into Wasm build log, such as:
These logs are not the real error and might be confusing when examining the failure. Example of a log with this problem.
|
What other messages will this disable? The better fix would be to remove the call to |
@radical https://github.com/dotnet/arcade/blob/677ad5e2a0837322f132e57c8fa920825707d528/src/Microsoft.DotNet.Helix/Sdk/tools/xharness-runner/XHarnessRunner.targets#L80-L81 There is one pre and one post command that this disables. I'd rather leave the error in because if the telemetry should be on, we should see it being tried to send. There is no other effect on your scenarios. |
Why does the file not exist? Does it work for non-wasm cases? This suggests that it would get copied, correct? |
There is a piece or two missing in WASM flows actually. 1. Helix work item creationThe code path you link is called from In those cases where you specify these items, the SDK takes over the creation of 2. Collect diagnostic data in XHarness.WASMThe second piece that is missing is a little bit of code in the WASM XHarness part where we are not setting the telemetry data. Example for Apple is here: https://github.com/dotnet/xharness/blob/main/src/Microsoft.DotNet.XHarness.CLI/Commands/Apple/AppleAppCommand.cs#L56-L58 Once we have data to put into In case you want to think about the telemetry in the future, probably you should know that most of the data we store is in a property bag in Kusto. So even if the dimensions in |
Thank you for the detailed response, @premun! This looks interesting, and there is useful information that we can get through it, in the future :) For now, this PR sounds fine then 👍 |
@ilonatommy Could you include a link to @premun's comment in the PR description? |
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.
Good thinking, @ilonatommy!
@radical in case you want to think about the telemetry in the future, probably you should know that most of the data we store is in a property bag in Kusto. So even if the dimensions in Apart from these properties, we collect 2 metrics - exit code and duration of the XHarness command. I will update my comment with this piece too. |
To prevent a trash log from getting into Wasm build log:
This log is not the real error and might be confusing when examining the failure.
Example of a log with this problem.
Reason for the missing file explained: #66698 (comment).