-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[main] Update dependencies from dotnet/runtime #24195
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
[main] Update dependencies from dotnet/runtime #24195
Conversation
…0302.5 Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.NETCore.DotNetHostResolver , System.Reflection.MetadataLoadContext , System.Resources.Extensions , System.Text.Encoding.CodePages , System.Security.Cryptography.ProtectedData , System.CodeDom , Microsoft.NET.HostModel , Microsoft.Extensions.DependencyModel , Microsoft.NETCore.App.Host.win-x64 , Microsoft.NETCore.App.Ref , VS.Redist.Common.NetCore.TargetingPack.x64.7.0 , VS.Redist.Common.NetCore.SharedFramework.x64.7.0 From Version 7.0.0-preview.3.22151.6 -> To Version 7.0.0-preview.3.22152.5
Notification for subscribed users from https://github.com/dotnet/runtime:@dnr-codeflow Action requested: Please take a look at this failing automated dependency-flow pull request's checks; failures may be related to changes which originated in your repo.
|
FYI @jkoritzinsky |
We just updated the version of Roslyn that we build the source generators that will ship in .NET 7 build against. We did this to pick up new Roslyn APIs and bug fixes. Can the SDK update which Roslyn toolset it builds against? |
Perhaps that is happening in #24188? |
That PR looks like it's actually downgrading Roslyn for some odd reason... |
FYI @jaredpar because of the fun discussion from today. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
…0304.1 Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.NETCore.DotNetHostResolver , System.Reflection.MetadataLoadContext , System.Text.Encoding.CodePages , System.Security.Cryptography.ProtectedData , System.Resources.Extensions , System.CodeDom , Microsoft.NET.HostModel , Microsoft.Extensions.DependencyModel , Microsoft.NETCore.App.Host.win-x64 , Microsoft.NETCore.App.Ref , VS.Redist.Common.NetCore.TargetingPack.x64.7.0 , VS.Redist.Common.NetCore.SharedFramework.x64.7.0 From Version 7.0.0-preview.3.22151.6 -> To Version 7.0.0-preview.3.22154.1
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
|
…0304.8 Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.NETCore.DotNetHostResolver , System.Reflection.MetadataLoadContext , System.Text.Encoding.CodePages , System.Security.Cryptography.ProtectedData , System.Resources.Extensions , System.CodeDom , Microsoft.NET.HostModel , Microsoft.Extensions.DependencyModel , Microsoft.NETCore.App.Host.win-x64 , Microsoft.NETCore.App.Ref , VS.Redist.Common.NetCore.TargetingPack.x64.7.0 , VS.Redist.Common.NetCore.SharedFramework.x64.7.0 From Version 7.0.0-preview.3.22151.6 -> To Version 7.0.0-preview.3.22154.8
…0305.4 Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.NETCore.DotNetHostResolver , System.Reflection.MetadataLoadContext , System.Text.Encoding.CodePages , System.Security.Cryptography.ProtectedData , System.Resources.Extensions , System.CodeDom , Microsoft.NET.HostModel , Microsoft.Extensions.DependencyModel , Microsoft.NETCore.App.Host.win-x64 , Microsoft.NETCore.App.Ref , VS.Redist.Common.NetCore.TargetingPack.x64.7.0 , VS.Redist.Common.NetCore.SharedFramework.x64.7.0 From Version 7.0.0-preview.3.22151.6 -> To Version 7.0.0-preview.3.22155.4
@dotnet/domestic-cat @stephentoub could you throw any light on this error above? What might have changed here? |
My comment above has the explanation: #24195 (comment) |
…0307.1 Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.NETCore.DotNetHostResolver , System.Reflection.MetadataLoadContext , System.Text.Encoding.CodePages , System.Security.Cryptography.ProtectedData , System.Resources.Extensions , System.CodeDom , Microsoft.NET.HostModel , Microsoft.Extensions.DependencyModel , Microsoft.NETCore.App.Host.win-x64 , Microsoft.NETCore.App.Ref , VS.Redist.Common.NetCore.TargetingPack.x64.7.0 , VS.Redist.Common.NetCore.SharedFramework.x64.7.0 From Version 7.0.0-preview.3.22151.6 -> To Version 7.0.0-preview.3.22157.1
Ah I see. The last one updated up to 3 days ago. I guess another should go up soon (?) |
I am taking over helping @danmoseley with this issue. @jaredpar, @jkoritzinsky @pranavkm what is the latest status? Who has the next action? Thanks |
If dotnet/sdk can update the version of Roslyn they reference when building (so the |
Thanks @jkoritzinsky. @dotnet/domestic-cat is there someone able to help investigate updating the version of Roslyn? @jkoritzinsky do we know what about this payload that is leading to this situation? Is it a faster path to revert that work until we resolve these downstream impacts? (Asking especially if this impact is likely to happen in more repos). |
Yes. Roughly what is happening here is that all of our source generators depend on the latest Roslyn API. The Roslyn API is just another NuPkg, that dependency moves forward like any other dependency. This PR is pulling down an SDK from the 6.0.300 flavor, based on the version in the error, which means the generators in it depend on the 4.2.0.0 version of the Roslyn API. The SDK though has pinned the actual compiler used to build which means it did not roll forward to 6.0.300 versions and it has a version of 4.1.0.0 or earlier. Hence when the generators attempt to run in the compiler there is a version mismatch. This is a danger of pinning compiler toolsets. It's a component that essentially has plugin support. If you move the plugins forward but keep the host backwards eventually you hit a version mismatch. |
@jaredpar, the SDK being pulled down is actually 5 months old at 7.0.100-alpha.1.21478.48. Is updating to the preview 1 SDK sufficient or will we need something even newer? |
That is the error in the thread and that is a 6.0.300 compiler version. Something is trying to load it during build. |
…0308.1 Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.NETCore.DotNetHostResolver , System.Reflection.MetadataLoadContext , System.Text.Encoding.CodePages , System.Security.Cryptography.ProtectedData , System.Resources.Extensions , System.CodeDom , Microsoft.NET.HostModel , Microsoft.Extensions.DependencyModel , Microsoft.NETCore.App.Host.win-x64 , Microsoft.NETCore.App.Ref , VS.Redist.Common.NetCore.TargetingPack.x64.7.0 , VS.Redist.Common.NetCore.SharedFramework.x64.7.0 From Version 7.0.0-preview.3.22151.6 -> To Version 7.0.0-preview.3.22158.1
Test failures seem more ordinary now, e.g.
And:
@dsplaisted @marcpopMSFT who knows about these tests? |
possibly @lewing knows about that. |
@marcpopMSFT can you help take a look?
@marek-safar and @lewing can you help take a look? |
@marcpopMSFT I wonder if this is the known workloads.txt file that's missing again when the stage0 and stage2 SDKs are merged to run tests. |
…0308.2 Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.NETCore.DotNetHostResolver , System.Reflection.MetadataLoadContext , System.Text.Encoding.CodePages , System.Security.Cryptography.ProtectedData , System.Resources.Extensions , System.CodeDom , Microsoft.NET.HostModel , Microsoft.Extensions.DependencyModel , Microsoft.NETCore.App.Host.win-x64 , Microsoft.NETCore.App.Ref , VS.Redist.Common.NetCore.TargetingPack.x64.7.0 , VS.Redist.Common.NetCore.SharedFramework.x64.7.0 From Version 7.0.0-preview.3.22151.6 -> To Version 7.0.0-preview.3.22158.2
@joeloff @wtgodbe That second issue is definitely because of the workloads text file. That's the same behavior we saw when trying to update to 6.0.101 with an empty file. We either need to disable the tests for now or fix the stage0/stage2 merge. I'd probably default to disabling since 7.0 doesn't support maui at the moment so overall workload support is minimal. |
@wtgodbe for ExeProjectCanReferenceTestProject, we should try updating the target framework value in the test to net7.0. |
@javiercn , can you investigate the failure in Publish60Hosted_Works? Looks like it's expecting an rc2 runtime but we updated to the 6.0.0 version.
|
Still seeing a source-build issue:
@dagood @MichaelSimons I see dotnet/source-build#1473, is this related? Is there a known fix? |
@marcpopMSFT looking at it. |
...ebAssembly.Tests/StaticWebAssetsBaselines/Publish60Hosted_Works.Publish.staticwebassets.json
Show resolved
Hide resolved
Should be able to disable shared compilation (compiler server) to stop the machine from finding two versions of the compiler with different hashes: dotnet/source-build#1527. @dotnet/source-build-internal |
Looks like the SDK enables it by default: sdk/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets Lines 940 to 942 in 8d1e1e4
|
That file is included in the produced SDK and is not imported by MSBuild during the build of this repo. I think the property setter should be added in eng/SourceBuild.props as part of the InnerBuildArgs https://github.com/dotnet/sdk/blob/main/eng/SourceBuild.props |
:) thank you everyone for helping to get this merged! |
This pull request updates the following dependencies
From https://github.com/dotnet/runtime