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

Update .NET SDK to 9.0.100-preview.7.24351.1 #56546

Closed

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 1, 2024

Updates the .NET SDK to version 9.0.100-preview.7.24351.1, which also updates the .NET runtime from version 9.0.0-preview.6.24307.2 to version 9.0.0-preview.7.24328.10.

This pull request was auto-generated by GitHub Actions.

Update .NET SDK to version 9.0.100-preview.7.24351.1.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@github-actions github-actions bot requested review from wtgodbe and a team as code owners July 1, 2024 12:08
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Jul 1, 2024
Copy link
Contributor

@dotnet-policy-service dotnet-policy-service bot left a comment

Choose a reason for hiding this comment

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

Auto-approving SDK update.

@captainsafia
Copy link
Member

@dotnet/aspnet-blazor-eng The components-e2e leg has been timing out in this branch since 06/24. Are there any runtime changes that we anticipate might be breaking Blazor here?

@halter73
Copy link
Member

halter73 commented Jul 3, 2024

@javiercn This looks like a regression caused by dotnet/sdk#41681. The server-side exceptions look like the following:

System.InvalidOperationException: "The static asset 'images/blazor_logo_1000x.png' is already mapped to images/blazor_logo_1000x.ktvuh5jcvm.png."
    Microsoft.AspNetCore.Components.dll!Microsoft.AspNetCore.Components.ResourceAssetCollection.ResourceAssetCollection(System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ResourceAsset> resources) Line 40
    Microsoft.AspNetCore.Components.Endpoints.dll!Microsoft.AspNetCore.Components.Endpoints.ResourceCollectionResolver.ResolveResourceCollection(string manifestName) Line 78
    Microsoft.AspNetCore.Components.Endpoints.dll!Microsoft.AspNetCore.Builder.ResourceCollectionConvention.OnBeforeCreateEndpoints(Microsoft.AspNetCore.Builder.RazorComponentEndpointUpdateContext context) Line 21
    Microsoft.AspNetCore.Components.Endpoints.dll!Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder.OnBeforeCreateEndpoints(Microsoft.AspNetCore.Builder.RazorComponentEndpointUpdateContext endpointContext) Line 81
    Microsoft.AspNetCore.Components.Endpoints.dll!Microsoft.AspNetCore.Components.Endpoints.RazorComponentEndpointDataSource<Components.TestServer.RazorComponents.App>.UpdateEndpoints() Line 116
    Microsoft.AspNetCore.Components.Endpoints.dll!Microsoft.AspNetCore.Components.Endpoints.RazorComponentEndpointDataSource<Components.TestServer.RazorComponents.App>.Initialize() Line 97
    Microsoft.AspNetCore.Components.Endpoints.dll!Microsoft.AspNetCore.Components.Endpoints.RazorComponentEndpointDataSource<Components.TestServer.RazorComponents.App>.GetChangeToken() Line 186
    Microsoft.Extensions.Primitives.dll!Microsoft.Extensions.Primitives.ChangeToken.ChangeTokenRegistration<System.Action>.ChangeTokenRegistration(System.Func<Microsoft.Extensions.Primitives.IChangeToken> changeTokenProducer, System.Action<System.Action> changeTokenConsumer, System.Action state)
    Microsoft.Extensions.Primitives.dll!Microsoft.Extensions.Primitives.ChangeToken.OnChange(System.Func<Microsoft.Extensions.Primitives.IChangeToken> changeTokenProducer, System.Action changeTokenConsumer)
    Microsoft.AspNetCore.Routing.dll!Microsoft.AspNetCore.Routing.CompositeEndpointDataSource.CreateChangeTokenUnsynchronized(bool collectionChanged) Line 252
    Microsoft.AspNetCore.Routing.dll!Microsoft.AspNetCore.Routing.CompositeEndpointDataSource.EnsureChangeTokenInitialized() Line 186
    Microsoft.AspNetCore.Routing.dll!Microsoft.AspNetCore.Routing.CompositeEndpointDataSource.GetChangeToken() Line 62
    Microsoft.AspNetCore.Routing.dll!Microsoft.AspNetCore.Routing.DataSourceDependentCache<Microsoft.AspNetCore.Routing.Matching.Matcher>.Initialize() Line 56
    System.Private.CoreLib.dll!System.Threading.LazyInitializer.EnsureInitializedCore<System.__Canon>(ref System.__Canon target, ref bool initialized, ref object syncLock, System.Func<System.__Canon> valueFactory)
    Microsoft.AspNetCore.Routing.dll!Microsoft.AspNetCore.Routing.DataSourceDependentCache<Microsoft.AspNetCore.Routing.Matching.Matcher>.EnsureInitialized() Line 49
    Microsoft.AspNetCore.Routing.dll!Microsoft.AspNetCore.Routing.Matching.DataSourceDependentMatcher.DataSourceDependentMatcher(Microsoft.AspNetCore.Routing.EndpointDataSource dataSource, Microsoft.AspNetCore.Routing.Matching.DataSourceDependentMatcher.Lifetime lifetime, System.Func<Microsoft.AspNetCore.Routing.Matching.MatcherBuilder> matcherBuilderFactory) Line 23
    Microsoft.AspNetCore.Routing.dll!Microsoft.AspNetCore.Routing.Matching.DfaMatcherFactory.CreateMatcher(Microsoft.AspNetCore.Routing.EndpointDataSource dataSource) Line 29
    Microsoft.AspNetCore.Routing.dll!Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.InitializeCoreAsync() Line 264
    Microsoft.AspNetCore.Routing.dll!Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.InitializeAsync() Line 248
    Microsoft.AspNetCore.Routing.dll!Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.Invoke(Microsoft.AspNetCore.Http.HttpContext httpContext) Line 71
    Microsoft.AspNetCore.Diagnostics.dll!Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.Invoke(Microsoft.AspNetCore.Http.HttpContext context) Line 77
    Microsoft.AspNetCore.Http.Abstractions.dll!Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.InvokeCore(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.PathString matchedPath, Microsoft.AspNetCore.Http.PathString remainingPath) Line 66
    Microsoft.AspNetCore.Http.Abstractions.dll!Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(Microsoft.AspNetCore.Http.HttpContext context) Line 48
    Microsoft.AspNetCore.HostFiltering.dll!Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware.Invoke(Microsoft.AspNetCore.Http.HttpContext context) Line 62
    Microsoft.AspNetCore.Hosting.dll!Microsoft.AspNetCore.Hosting.HostingApplication.ProcessRequestAsync(Microsoft.AspNetCore.Hosting.HostingApplication.Context context) Line 89
    Microsoft.AspNetCore.Server.Kestrel.Core.dll!Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests<Microsoft.AspNetCore.Hosting.HostingApplication.Context>(Microsoft.AspNetCore.Hosting.Server.IHttpApplication<Microsoft.AspNetCore.Hosting.HostingApplication.Context> application) Line 676
    Microsoft.AspNetCore.Server.Kestrel.Core.dll!Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequestsAsync<Microsoft.AspNetCore.Hosting.HostingApplication.Context>(Microsoft.AspNetCore.Hosting.Server.IHttpApplication<Microsoft.AspNetCore.Hosting.HostingApplication.Context> application) Line 576
    Microsoft.AspNetCore.Server.Kestrel.Core.dll!Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnection.ProcessRequestsAsync<Microsoft.AspNetCore.Hosting.HostingApplication.Context>(Microsoft.AspNetCore.Hosting.Server.IHttpApplication<Microsoft.AspNetCore.Hosting.HostingApplication.Context> httpApplication) Line 108
    Microsoft.AspNetCore.Server.Kestrel.Core.dll!Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnectionMiddleware<Microsoft.AspNetCore.Hosting.HostingApplication.Context>.OnConnectionAsync(Microsoft.AspNetCore.Connections.ConnectionContext connectionContext) Line 51
    Microsoft.AspNetCore.Server.Kestrel.Core.dll!Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync.AnonymousMethod__0(Microsoft.AspNetCore.Connections.ConnectionContext c) Line 49
    Microsoft.AspNetCore.Server.Kestrel.Core.dll!Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.KestrelConnection<Microsoft.AspNetCore.Connections.ConnectionContext>.ExecuteAsync() Line 69
    Microsoft.AspNetCore.Server.Kestrel.Core.dll!Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.KestrelConnection<System.__Canon>.System.Threading.IThreadPoolWorkItem.Execute() Line 38
    System.Private.CoreLib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch()
    System.Private.CoreLib.dll!System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

If you look at Components.TestServer.staticwebassets.endpoints.json, you'll see two identical endpoints right next to each other with the same label:

{
  "Name": "label",
  "Value": "images/blazor_logo_1000x.png"
}

@RussKie
Copy link
Member

RussKie commented Jul 3, 2024

@captainsafia @halter73 what would the way to fix this?

@captainsafia
Copy link
Member

@RussKie I'm not sure. @javiercn has been doing the work around assets in .NET 9 and might have ideas here.

@javiercn
Copy link
Member

javiercn commented Jul 3, 2024

@captainsafia @halter73 looking at it.

@javiercn
Copy link
Member

javiercn commented Jul 5, 2024

I think dotnet/sdk#41995 will fix it

Copy link
Contributor Author

github-actions bot commented Jul 8, 2024

Superseded by #56667.

@github-actions github-actions bot closed this Jul 8, 2024
@github-actions github-actions bot deleted the update-dotnet-sdk-9.0.100-preview.7.24351.1 branch July 8, 2024 12:08
@dotnet-policy-service dotnet-policy-service bot added this to the 9.0-preview7 milestone Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework Type: Dependency Update 🔼
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants