Skip to content

System.Diagnostics.FileVersionInfo tests lack WASI ReadyToRun coverage #138115

Open

Description

@akoeplinger

Description

System.Diagnostics.FileVersionInfo.Tests is selected by the WASI library-test project graph and evaluates with PublishReadyToRun=true, but the tests do not appear in the WASI ReadyToRun test results.

Browser coverage is intentionally absent: the project sets IgnoreForCI=true for TargetOS=browser, and the assembly has a Browser platform skip. The missing WASI coverage appears unintended.

Reproduction Steps

  1. Evaluate src/libraries/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csproj with TargetOS=wasi, TargetArchitecture=wasm, RuntimeFlavor=CoreCLR, TestWasmReadyToRun=true, and TargetFramework=net12.0-browser.
  2. Observe that PublishReadyToRun=true and the project is included by src/libraries/tests.proj.
  3. Inspect the successful net12.0-wasi-Release-wasm-CoreCLR_WASI_R2R_Release-WasmTestOnWasmtime run from Azure DevOps build 1692590, test run 4725609.
  4. Observe that none of the 7,149 results belong to System.Diagnostics.FileVersionInfo.Tests.

Expected behavior

The FileVersionInfo tests should execute in the WASI ReadyToRun lane, or the project should have an explicit and documented exclusion if the API is unsupported there.

Actual behavior

The WASI ReadyToRun lane succeeds without executing any FileVersionInfo tests.

Regression?

Unknown.

Known Workarounds

N/A.

Configuration

  • Target OS: WASI
  • Architecture: wasm
  • Runtime: CoreCLR
  • Mode: ReadyToRun
  • Evidence: Azure DevOps build 1692590, test run 4725609

Other information

This was identified while reviewing #138114. The project targets net12.0-browser for WebAssembly, and its assembly-level Browser skip may also suppress the WASI execution path; this needs investigation.

Note

This issue was generated with GitHub Copilot.

Activity

  1. added
    untriaged
    on Nov 23, 2026
  2. dotnet-policy-service commented on Nov 23, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/crossgen-contrib
    See info in area-owners.md if you want to be subscribed.

  3. added
    os-wasi
    arch-wasm
    on Nov 23, 2026
  4. dotnet-policy-service commented on Nov 23, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
    See info in area-owners.md if you want to be subscribed.

  5. added this to the 12.0.0 milestone on Nov 26, 2026
  6. removed
    untriaged
    on Nov 26, 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

    arch-wasmarea-ReadyToRunos-wasi

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions