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

Update usage of AllowEmptyTelemetry based on changes to the task in the SDK #82804

Merged
merged 1 commit into from
Apr 3, 2023

Conversation

baronfel
Copy link
Member

@baronfel baronfel commented Mar 1, 2023

In dotnet/sdk#30269 the API of the AllowEmptyTelemetry task changed to allow for more granular hashing of the collected telemetry properties. This change was against a servicing branch and flowed into SDK main. Sometime after that change, these targets moved from SDK to Runtime, and so the change was lost.

This re-applies the change to Runtime main to address breaks seen in source-build.

Is there a layering concern here with consuming an SDK-delivered Task? Is the crossgen telemetry still relevant and should we still be collecting it?

…he SDK

In dotnet/sdk#30269 the API of the AllowEmptyTelemetry task changed to allow for more granular hashing of the collected telemetry properties. This change was against a servicing branch and flowed into SDK main. Sometime after that change, these targets moved from SDK to Runtime, and so the change was lost.

This re-applies the change to Runtime main to address breaks seen in source-build.
@ghost ghost assigned baronfel Mar 1, 2023
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

Copy link
Member

@trylek trylek left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@baronfel
Copy link
Member Author

baronfel commented Mar 1, 2023

@trylek what's the procedure for doing backports in this repo? This is my first runtime PR :)

@trylek
Copy link
Member

trylek commented Mar 1, 2023

/backport to release/7.0

@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2023

Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/4298771340

@trylek
Copy link
Member

trylek commented Mar 1, 2023

@baronfel - the backport PR should be ready now, please see above, just "edit" the PR description and fill in the info, that should do the trick. Please make sure to include my M2 @jeffschwMSFT as a reviewer, he is typically overseeing the logistics of the servicing process.

@trylek
Copy link
Member

trylek commented Mar 1, 2023

Oh, one more detail I've stumbled upon before - once the backport PR has been approved, don't actually merge it, that's going to be done once the servicing chores open a window for such a thing, typically @carlossanlop will ultimately see to it.

@baronfel
Copy link
Member Author

baronfel commented Mar 1, 2023

this also needed to go to 8.0 preview 2 according to #82795 (comment) - does that also happen with the backport action?

@carlossanlop
Copy link
Member

this also needed to go to 8.0 preview 2 according to #82795 - does that also happen with the backport action?

Unfortunately, we're already past code complete for Preview 2: https://dev.azure.com/devdiv/DevDiv/_wiki/wikis/DevDiv.wiki/31692/NET-8-Schedule

How critical is this fix? @mmitche can tell you if this change can still go into Preview 2 or not.

@mmitche
Copy link
Member

mmitche commented Mar 1, 2023

We are very far behind on p2 (given the shortened schedule), so this is unlikely to make it.

@trylek
Copy link
Member

trylek commented Mar 10, 2023

@baronfel - we're approaching the deadline for accepting contributions to the next NET 7.0 servicing release but this change in runtime main hasn't yet been merged in, as a matter of fact it's nowhere near green; can you please investigate the remaining failures and / or comment on their potential infra causes so that we can make a case for the backport?

@baronfel
Copy link
Member Author

At least some of the failures were just general flakiness (IIRC the macOS runners where heavily degraded when the PR originally went up). There are two remaining that consistently are failing, but I don't see a connection between this and the 62 reported test failures. @trylek could you sanity check the checks and see if there's anything that immediately jumps out to you?

@trylek
Copy link
Member

trylek commented Mar 10, 2023

@baronfel - I don't see any failures in the PR that would be related to your change, most of the failures I saw actually look like a temporary network failure, I think this PR should be safe to merge. If you want to be super sure, you can "retry the failed legs" using the AzDO UI, I would expect transient failures to go away.

@marek-safar marek-safar merged commit d0913fc into main Apr 3, 2023
@marek-safar marek-safar deleted the fix-crossgen-telemetry branch April 3, 2023 07:47
@ghost ghost locked as resolved and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants