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

Remove CPD attribute on DiaSymReader dependency #68523

Merged
merged 1 commit into from
Jun 12, 2023
Merged

Conversation

mmitche
Copy link
Member

@mmitche mmitche commented Jun 9, 2023

This breaks coherency, because roslyn @ 5d10d42 does not have a dependency on DiaSymReader, so this coherency restriction is unresolvable.

I don't think this was intended.

Furthermore, even if roslyn did have such a dependency, it would freeze this version in place, because in order to update DiaSymReader, you would have to first make it incoherency (manually edit the version), then immediately flow roslyn to itself. Otherwise, Maestro would simply change things back.

This breaks coherency, because roslyn @ 5d10d42 does not have a dependency on DiaSymReader, so this coherency restriction is unresolvable.

I don't think this was intended.

Furthermore, even if roslyn did have such a dependency, it would freeze this version in place, because in order to update DiaSymReader, you would have to first make it incoherency (manually edit the version), then immediately flow roslyn to itself. Otherwise, Maestro would simply change things back.
@mmitche mmitche requested a review from a team as a code owner June 9, 2023 20:59
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Jun 9, 2023
@ghost ghost added the Community The pull request was submitted by a contributor who is not a Microsoft employee. label Jun 9, 2023
@mmitche
Copy link
Member Author

mmitche commented Jun 9, 2023

@333fred This is also blocking arcade updates I think.

@@ -28,7 +28,7 @@
<Sha>3f43bf1b2dead2cb51f20dc47f6dfd7981248820</Sha>
<SourceBuild RepoName="sourcelink" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.DiaSymReader" Version="2.0.0" CoherentParentDependency="Microsoft.Net.Compilers.Toolset">
Copy link
Member

Choose a reason for hiding this comment

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

What does this attribute even mean????

Copy link
Member Author

Choose a reason for hiding this comment

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

It means that DiaSymReader's version should be taken from the version that roslyn depends on at the sha from Microsoft.NET.Compilers.Toolset:

https://github.com/dotnet/roslyn/pull/68523/files#diff-fb62e94a1d6f29f863e3d0a22aa38269f6cd1d7f03b109dc06e2cbf2548b86d3R35-R38

That creates a nice circular reference you can't update, and besides that, roslyn doesn't depend on DiaSymReader there.

@mmitche mmitche merged commit 2cea5f8 into dotnet:main Jun 12, 2023
@ghost ghost added this to the Next milestone Jun 12, 2023
@RikkiGibson RikkiGibson modified the milestones: Next, 17.7 P3 Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure Community The pull request was submitted by a contributor who is not a Microsoft employee. untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants