-
Notifications
You must be signed in to change notification settings - Fork 10k
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 branding to 7.0.1 #44768
Update branding to 7.0.1 #44768
Conversation
Is it time for this already @vseanreesermsft? |
- change label to "servicing" - check in 7.0.0 PackageOverrides.txt and PlatformManifest.txt files
Looks like we're missing a System.Text.Json.Serialization fix in this branch e.g. from local debugging of
The missing method isn't mentioned at all in this repo and @dotnet/area-system-text-json any suggestions on a workaround or fix❔ |
Also seeing a lot of the following in slightly lower-level tests:
|
Looks like that was added here: dotnet/runtime#76899. I suspect this might not work until we get the dependency updates included in the internal -> public merge |
Why❔ Aren't we doing dependency flow in public now that we have a 7.0.0 build❔ Needing to wait for the internal ➡️ public merge before even branding can merge will likely cause a mad rush on GA day Can we at least manually trigger the public runtime ➡️ aspnetcore flow to get the fix for the missing methods here❔ I could also |
We do every servicing release from the internal repos - worst case scenario, if we do have to wait until GA day, we get an extra week before branches close for 7.0.1 (GA 11/8, branches close 11/14 EOD), so we could make that work. I'll leave it up to @mmitche on whether it's appropriate to do a pre-emptive update-dependencies here |
If it matters, dotnet-runtime had a few successful builds after dotnet/runtime#76899 merged:
#20221018.4 failed but is the closest match for the chosen GA build. We could rerun failed jobs in that one to create a public build w/ most of the 7.0.0 content. |
I can't think of a good reason not to do an |
👍 will do (after lunch) |
Something is very wrong here. We're already at #20221013.12, BAR id Again, the problems are |
Another, relatively easy stack trace to use
In this case, [JsonSourceGenerationOptions]
[JsonSerializable(typeof(StaticWebAssetManifest))]
[JsonSerializable(typeof(IDictionary<string, StaticWebAssetNode>))]
internal sealed partial class SourceGenerationContext : JsonSerializerContext
{
public static readonly SourceGenerationContext DefaultWithConverter = new SourceGenerationContext(new JsonSerializerOptions
{
Converters = { new OSBasedCaseConverter() }
});
} |
|
This was an unusual case of adding new APIs after preview7. What does aspnetcore need to do (maybe consume dependencies in a certain order) to be able to detect these new APIs? |
Oh, maybe it's this? aspnetcore/eng/tools/GenerateFiles/Directory.Build.targets.in Lines 56 to 58 in 38d3043
Now that this is a servicing build, we're no longer defaulting to using the incoming runtime version, and are instead using what's in the SDK, which doesn't have the new API? |
Seems like a plausible explanation, the RC2 sdk doesn't come with the new API. |
@wtgodbe Can you confirm that 7.0 GA does have the visibility into this API that was added during that milestone, and this only surfaced in servicing because the process for the build changed? |
I have no reason to believe otherwise - the API change will have flowed to the SDK as part of the normal process just like any other API change. This mismatch is caused by us using an SDK from rc2, and a runtime from RTM. Normally we have a workaround that avoids these types of mismatches, but we turn that workaround off in servicing based on the assumption that API surface area won't change. |
I suspect it should be the other way around? An RTM source generator producing calls to |
I'll try using a more recent SDK in this PR. |
We always use the same SDK and that's |
@marcpopMSFT what 7.0.1xx SDK is actually the latest❔ I tried both the |
@dsplaisted since @marcpopMSFT is under the weather |
I grabbed the one from the latest build of release/7.0.1xx: https://dev.azure.com/dnceng/internal/_build/results?buildId=2034545&view=results |
Thanks @wtgodbe. Still wondering what's going on w/ the dotnet/installer home page and the productCommit-win-x64.txt file. |
I think it lists the "shipping" version of the SDK, which (since branding is now stable), will always be unsuffixed. But dotnet/installer produces both a stable-versioned & non-stable-versioned SDK every time when branding is stable, and only the non-stable one can be picked up by dotnet-install because dotnet-install uses the SDK version you list to look for a folder in blob storage. It's only on release day that we create such a folder w/ stable branding. |
I added the stable windowsdesktop feed from https://github.com/dotnet/installer/blob/release/7.0.1xx/NuGet.config#L10, I think that should do it |
On Tuesday we should go to the 7.0.100 SDK (and make sure the windowsdesktop feed is removed) |
Argh, this won't work either - dotnet/runtime#76899 never flowed to the public dotnet/installer repo. I think we should revert the SDK updates & my nuget.config change, and special case the workaround at aspnetcore/eng/tools/GenerateFiles/Directory.Build.targets.in Lines 56 to 58 in 38d3043
|
I think this is a convoluted mess that rhymes w/ source generators and late changes. I'll try changing some |
- use incoming runtime even though this is a servicing build
7b0f75f
to
841e438
Compare
@@ -53,7 +53,7 @@ | |||
e.g. tool projects (again, property not set) use latest. | |||
On the other hand, $(TargetLatestDotNetRuntime) is specific to this repo and controls only the update below. | |||
--> | |||
<DefaultRuntimeFrameworkVersion Condition=" '$(IsServicingBuild)' != 'true' AND | |||
<DefaultRuntimeFrameworkVersion Condition=" ('$(IsServicingBuild)' != 'true' OR '$(NETCoreSdkVersion)' == '7.0.100-rtm.22478.12') AND |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note this hack automatically stops working as soon as we change the SDK version.
Will's analysis above is correct. We're now on stable branding which dotnet-install can't use (until it actually ships) so that installer table is no longer useful for 7.0.1xx. I'll work on getting it removed (it's the same reason we removed all the other servicing branches from that table). |
@marcpopMSFT is there a way to reliably get the latest public nonstable version (that |
/fyi all: Builds are looking good so far, except for some macOS issues w/ AzDO feeds. Expect I'll need to rerun failed jobs, but should be able to get this in tonight. |
I'm not sure if there is. @YuliiaKovalova might have some idea or suggestion on if there's a channel or something you can use to get the latest daily build of a stable release. |
Hi @marcpopMSFT. It looks like you just commented on a closed PR. The team will most probably miss it. If you'd like to bring something important up to their attention, consider filing a new issue and add enough details to build context. |
Hi @marcpopMSFT , It is possible to specify -Channel "LTS" -Quality "daily" for getting the latest build of the stable version. Please see for getting more details: |
Hi @YuliiaKovalova. It looks like you just commented on a closed PR. The team will most probably miss it. If you'd like to bring something important up to their attention, consider filing a new issue and add enough details to build context. |
Thanks @YuliiaKovalova, hadn't thought to use In any case, I'd reserve |
No description provided.