Skip to content

Conversation

@tmat
Copy link
Member

@tmat tmat commented Oct 4, 2021

Allows to correlate EnC telemetry with properties of updated projects.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1415162

Contributes to https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1412234

@ghost ghost added the Area-Interactive label Oct 4, 2021
@tmat tmat force-pushed the EncTelemetry17.0 branch from 5e58b21 to 65985cc Compare October 5, 2021 01:01
@tmat tmat changed the title Add SolutionSessionId Add SolutionSessionId and ProjectsWithAppliedChanges telemetry properties Oct 5, 2021
@tmat tmat marked this pull request as ready for review October 5, 2021 01:03
@tmat tmat requested a review from a team as a code owner October 5, 2021 01:03
@tmat
Copy link
Member Author

tmat commented Oct 5, 2021

@davidwengier PTAL

{
private static readonly TestComposition s_composition = FeaturesTestCompositions.Features;
private static readonly Guid s_solutionTelemetryId = Guid.Parse("00000000-AAAA-AAAA-AAAA-000000000000");
private static readonly Guid s_defaultProjectTelemetryId = Guid.Parse("00000000-AAAA-AAAA-AAAA-111111111111");
Copy link
Member

Choose a reason for hiding this comment

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

You could extract these strings out as constants and use them in the tests instead of inlining them.

Copy link
Member Author

@tmat tmat Oct 5, 2021

Choose a reason for hiding this comment

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

That would be too much clutter in the tests. These won't change and even if they did simple text replace would do. Also would make copy & paste of expected output from test output harder.

@tmat tmat merged commit f9ec7d1 into dotnet:release/dev17.0 Oct 6, 2021
@tmat tmat deleted the EncTelemetry17.0 branch October 6, 2021 16:14
@jinujoseph
Copy link
Contributor

cc @RikkiGibson fyi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants