Throw meaningful exception when async JSInvokable method is called synchronously from JS#65880
Open
iamcymentho wants to merge 1 commit into
Open
Build Analysis / Build Analysis
failed
Mar 20, 2026 in 0s
.NET Result Analysis
Details
Tip
To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.
Build Failures
aspnetcore-ci / Build / Test: Windows Server x64 / Run build.cmd
[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]-
❌.dotnet\sdk\11.0.100-preview.1.26104.118\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.CrossGen.targets(488,5): error MSB6006: "D:\a\_work\1\s\.packages\microsoft.netcore.app.crossgen2.win-x64\11.0.0-preview.3.26153.117\tools\crossgen2.exe" exited with code 57005.
-
❌.dotnet\sdk\11.0.100-preview.1.26104.118\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.CrossGen.targets(368,5): error NETSDK1096: Optimizing assemblies for performance failed. You can either exclude the failing assemblies from being optimized, or set the PublishReadyToRun property to false.
Known test errors
Test Failures (4 tests failed)
🔹 [All failing tests from aspnetcore-ci]
- Exception Message
Assert.Equal() Failure: Strings differ ↓ (pos 0) Expected: "43lb12p5.xag, Version=0.0.0.0, Culture=ne"··· Actual: "kwidbi0j.3nt, Version=0.0.0.0, Culture=ne"··· ↑ (pos 0)- CallStack
at Microsoft.AspNetCore.Mvc.FunctionalTests.RazorRuntimeCompilationHostingStartupTest.RazorPages_CanBeServedAndUpdatedViaRuntimeCompilation() in /_/src/Mvc/test/Mvc.FunctionalTests/RazorRuntimeCompilationHostingStartupTest.cs:line 114 --- End of stack trace from previous location ---
- Exception Message
Assert.True() Failure Expected: True Actual: False
- CallStack
at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2TestBase.ReceiveFrameAsync(UInt32 maxFrameSize) in /_/src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2TestBase.cs:line 1240 at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2ConnectionTests.AbortSendsFinalGOAWAY() in /_/src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2ConnectionTests.cs:line 5285 --- End of stack trace from previous location ---
❌ InMemory.FunctionalTests--net11.0.WorkItemExecution [Console] [Details] [Artifacts] [1.68% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]
Failing Configuration
❌ Microsoft.AspNetCore.Mvc.FunctionalTests--net11.0.WorkItemExecution [Console] [Details] [Artifacts] [0.95% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]
Failing Configuration
❌ Microsoft.AspNetCore.Mvc.FunctionalTests.RazorRuntimeCompilationHostingStartupTest.RazorPages_CanBeServedAndUpdatedViaRuntimeCompilation [Console] [Details] [Artifacts] [0.79% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
❌ Microsoft.AspNetCore.Server.Kestrel.Core.Tests.Http2ConnectionTests.AbortSendsFinalGOAWAY [Console] [Details] [Artifacts] [0.29% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
Loading