System.Diagnostics.FileVersionInfo tests lack WASI ReadyToRun coverage
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- csharp, wasm
- Área
- testing-qa
Línea de trabajo
Start from the csproj at src/libraries/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csproj and check how IgnoreForCI and the Browser skip interact with the WASI path. Then check src/libraries/tests.proj to see why the project is selected but produces no results in the WASI R2R run. Done when the tests run in the WASI ReadyToRun lane or an explicit, documented exclusion exists.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Evaluate
src/libraries/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csprojwithTargetOS=wasi,TargetArchitecture=wasm,RuntimeFlavor=CoreCLR,TestWasmReadyToRun=true, andTargetFramework=net12.0-browser. - Observe that
PublishReadyToRun=trueand the project is included bysrc/libraries/tests.proj. - Inspect the successful
net12.0-wasi-Release-wasm-CoreCLR_WASI_R2R_Release-WasmTestOnWasmtimerun from Azure DevOps build 1692590, test run 47256096. - 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 47256096
Other information
This was identified while reviewing dotnet/runtime#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.
- Lenguaje dominante
- C#
- Estrellas
- 18.5k
- Forks
- 5.8k
- Merge medio
- 2 d 18 h
- PR fusionados (30 d)
- 588
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de dotnet/runtime
-
area-CodeGen-coreclr untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
dotnet/runtime#138181 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area-System.Collections untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
dotnet/runtime#138090 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area-System.Text.Json untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
dotnet/runtime#138089 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area-Setup untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
dotnet/runtime#137376 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area-System.Memory untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
dotnet/runtime#137334 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de dotnet/runtime
Issues similares
-
Add `net10.0`Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
dotnet-outdated/dotnet-outdated#871 ·
Los mantenedores suelen responder en 1 día
-
triage/untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
unoplatform/uno#26676 ·
Los mantenedores suelen responder en 1 día
-
.NET bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
[问题] 导出文件时,提示后面还有1243390911步Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
jhaizhou-ops/S2Arm#2177 · 3 comentarios ·
Los mantenedores suelen responder en 1 día