Repository navigation
[master] Update dependencies from mono/linker dotnet/arcade - #33646
Conversation
…316.1 - Microsoft.DotNet.XUnitExtensions - 5.0.0-beta.20166.1 - Microsoft.DotNet.VersionTools.Tasks - 5.0.0-beta.20166.1 - Microsoft.DotNet.ApiCompat - 5.0.0-beta.20166.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20166.1 - Microsoft.DotNet.Build.Tasks.Feed - 5.0.0-beta.20166.1 - Microsoft.DotNet.Build.Tasks.Packaging - 5.0.0-beta.20166.1 - Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk - 5.0.0-beta.20166.1 - Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk - 5.0.0-beta.20166.1 - Microsoft.DotNet.CodeAnalysis - 5.0.0-beta.20166.1 - Microsoft.DotNet.GenAPI - 5.0.0-beta.20166.1 - Microsoft.DotNet.GenFacades - 5.0.0-beta.20166.1 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.20166.1 - Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20166.1 - Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.20166.1
This comment has been minimized.
This comment has been minimized.
|
Looks like I triggered this too early, it doesn't have dotnet/arcade#5067 yet. @mmitche do we also need dotnet/arcade#5072? |
This comment has been minimized.
This comment has been minimized.
|
CoreClr build is not happy:
|
This comment has been minimized.
This comment has been minimized.
@dotnet/nullablefc Are the fixes for this sitting in a branch somewhere? |
|
I don't believe we were expecting any breaks. I'll take a look. |
This comment has been minimized.
This comment has been minimized.
I have some of the libraries fixes as I was working on consuming a new compiler from master branch instead of release branches to get the latest features. I don't have the S.P.CoreLib, but I can work on those as well. @stephentoub let me know if you'll take care, but I've made progress as well. |
This comment has been minimized.
This comment has been minimized.
|
@safern, thanks, if you're already working on it, it'd be great if you could fix these as well. Thanks! |
This comment has been minimized.
This comment has been minimized.
|
No worries. I'll push the full fix later today. |
This comment has been minimized.
This comment has been minimized.
…316.3 - Microsoft.DotNet.XUnitExtensions - 5.0.0-beta.20166.3 - Microsoft.DotNet.VersionTools.Tasks - 5.0.0-beta.20166.3 - Microsoft.DotNet.ApiCompat - 5.0.0-beta.20166.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20166.3 - Microsoft.DotNet.Build.Tasks.Feed - 5.0.0-beta.20166.3 - Microsoft.DotNet.Build.Tasks.Packaging - 5.0.0-beta.20166.3 - Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk - 5.0.0-beta.20166.3 - Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk - 5.0.0-beta.20166.3 - Microsoft.DotNet.CodeAnalysis - 5.0.0-beta.20166.3 - Microsoft.DotNet.GenAPI - 5.0.0-beta.20166.3 - Microsoft.DotNet.GenFacades - 5.0.0-beta.20166.3 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.20166.3 - Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20166.3 - Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.20166.3
|
@stephentoub @buyaa-n @eiriktsarpalis PTAL at commit: 73d4749 |
This comment has been minimized.
This comment has been minimized.
- ILLink.Tasks - 0.1.6-prerelease.20166.4
|
👀 Looks like you missed an area too: |
This comment has been minimized.
This comment has been minimized.
I built locally for allConfigurations which should cover all and it succeeded. I will take a look. Thanks, @stephentoub for reviewing, I updated the PR. |
Yeah already working on them. |
|
cc: @dagood @NikolaMilosavljevic for the packaging error. |
This comment has been minimized.
This comment has been minimized.
…8-a2ca-4b93-b65d-71c8583b52b1
This is indirectly caused by the compilation errors. The DLL not existing causes crossgen to fail, so it can't advance to the next step to produce that versions file. Then the pack fails because that file is missing. Perhaps the msbuild targets are set up to be a bit too optimistic about being able to do something useful when the prereq has failed to build. |
Auto-Merge StatusThis pull request has not been merged because Maestro++ is waiting on the following merge policies.
|
|
|
||
| // Provide a default implementation for value converters. | ||
| internal virtual bool OnTryRead(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, ref ReadStack state, out T value) | ||
| internal virtual bool OnTryRead(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options, ref ReadStack state, [MaybeNullWhen(false)] out T value) |
There was a problem hiding this comment.
I don't know if this is accurate. Why was this annotation necessary?
Tcould be null when true (imagine the payload contains{"foo": null})Tcould also be non-null when returning true (payload is{"foo": "hello"})Tcould be null when false
Questions:
- I don't know whether
Tcan be non-null when returning false or if it is guaranteed to be null when returning false - I don't know when
OnTryReadis intended to return false.
@steveharter - what is the intent here of this design and how do components that override this virtual behave?
There was a problem hiding this comment.
I added this because all implementations of this virtual except: https://github.com/dotnet/runtime/blob/master/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Value/KeyValuePairConverter.cs#L27 have this attribute and roslyn was complaining on the ones that had it because it didn't math the overriden member.
To me this makes the most sense since it is a virtual. This is saying, even if the T is non-nullable it might be null when returning false.
cc: @stephentoub
There was a problem hiding this comment.
To me this makes the most sense since it is a virtual. This is saying, even if the
Tis non-nullable it might be null when returning false.
Sounds good to me. Thanks.
|
@stephentoub @buyaa-n @davidsh @scalablecory PTAL at commit e65e8e8 |
Auto-Merge StatusThis pull request has not been merged because Maestro++ is waiting on the following merge policies.
|
| } | ||
|
|
||
| if (nextAuthority == null && value.AlpnProtocolName == "h3") | ||
| if (nextAuthority == null && value != null && value.AlpnProtocolName == "h3") |
There was a problem hiding this comment.
@scalablecory it seems like value could null ref here because the Parser we are using support multiple values, so TryParseValue might return true and parsedValue could be null if altSvcHeaderValue is null or empty:
https://github.com/dotnet/runtime/blob/master/src/libraries/System.Net.Http/src/System/Net/Http/Headers/BaseHeaderParser.cs#L40
Please confirm this fix is correct.
There was a problem hiding this comment.
Looks correct to me. I'll add a test in a later PR.
|
More errors. Is this because of the mono/linker update? Can we split this PR so that we can just update dotnet/arcade independently in order to unblock Runtime publish and as a result the random AspNetCore test crashes/failures? |
Auto-Merge StatusThis pull request has not been merged because Maestro++ is waiting on the following merge policies.
|
The Test build is because of nullability as well. Working on those now. The formatting job, I'm not sure, if the linker update is causing any errors I'll remove it, but I don't think is related. I think I should be able to merge this today. |
Auto-Merge StatusThis pull request has not been merged because Maestro++ is waiting on the following merge policies.
|
|
It looks like Formatting failed again. |
Auto-Merge StatusThis pull request has not been merged because Maestro++ is waiting on the following merge policies.
|
Auto-Merge StatusThis pull request has not been merged because Maestro++ is waiting on the following merge policies.
|
|
Builds seem to be getting close to green. @stephentoub does the nullability changes look good? |
Auto-Merge StatusThis pull request has not been merged because Maestro++ is waiting on the following merge policies.
|
This pull request updates the following dependencies
From https://github.com/dotnet/arcade
From https://github.com/mono/linker