Skip to content

Flaky: BlazorWebAssembly WASM build tests intermittently fail (msbuild /t:Build exit 1) #54814

Closed

Description

@Evangelink

Summary

Microsoft.NET.Sdk.BlazorWebAssembly.Tests (and the related Microsoft.NET.Build.Tests BlazorWasm global-usings test) intermittently fail in CI when building a minimal Blazor WASM project — dotnet msbuild /t:Build blazorwasm-minimal.csproj /restore exits with code 1. They are not associated with any particular PR (observed on unrelated PR merge builds).

Affected tests (non-exhaustive)

  • Microsoft.NET.Sdk.BlazorWebAssembly.Tests.WasmBuildIntegrationTest.Build_WithJiterpreter(value: True|False)
  • Microsoft.NET.Sdk.BlazorWebAssembly.Tests.WasmBuildIncrementalismTest.Build_SatelliteAssembliesFileIsDeleted_IfAllSatelliteFilesAreRemoved
  • Microsoft.NET.Build.Tests.GivenThatWeWantToGenerateGlobalUsings_BlazorWasm.It_can_disable_blazorwasm_usings

Symptom

Expected command to pass but it did not.
Arguments: msbuild /t:Build .../blazorwasm-minimal.csproj /restore /bl:msbuild0.binlog
Exit Code: 1

Non-deterministic; clears on re-run. Likely a WASM workload/build-environment flake on the Helix machines.

Known issue error message

{
  "ErrorMessage": "Microsoft.NET.Sdk.BlazorWebAssembly.Tests.WasmBuildIntegrationTest",
  "BuildRetry": false
}

Activity

  1. added
    untriaged
    on Jun 17, 2026
  2. removed
    untriaged
    on Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions