Add positive cDAC loading policy tests with .NET 11 dumps
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- cpp, linux
- Área
- devtools, operating-systems, testing-qa
Línea de trabajo
Comienza con las pruebas existentes de políticas negative/fallback de cDAC en DbgShim.UnitTests y con el flujo de trabajo de activos de prueba de diagnóstico. Rastrea la activación directa de IXCLRDataProcess y DBI ICorDebugProcess y, después, añade cobertura de volcados de .NET 11 en Windows y Linux para las tres políticas. El trabajo estará terminado cuando CI demuestre la activación positiva de cDAC, la selección del proveedor y el comportamiento sin cambios del DAC heredado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Background
Dbgshim now has deterministic negative/fallback coverage for the cDAC loading policies by pointing DOTNET_CDAC_PATH at a nonexistent library. The tests verify LegacyDacOnly, PreferCDac, and CDacOnly for both direct IXCLRDataProcess activation and the DBI ICorDebugProcess path.
The current DbgShim.UnitTests dump assets are .NET 6, so they cannot positively validate activation through mscordaccore_universal. Positive coverage requires dumps generated from a compatible .NET 11 runtime and the matching cDAC/DBI artifacts.
Proposed work
- Generate and publish Windows and Linux .NET 11 dump test assets using the existing diagnostics test-asset workflow.
- Make the matching
mscordaccore_universalandmscordbiavailable to DbgShim.UnitTests. - Add positive policy tests for both activation routes:
- Direct data access requesting
IXCLRDataProcess. - DBI activation requesting
ICorDebugProcess.
- Direct data access requesting
- Verify policy behavior:
CDacOnlysucceeds without invoking the library provider.PreferCDacsucceeds through cDAC without invoking the fallback provider.LegacyDacOnlyuses the legacy DAC provider and succeeds.
- Include Windows-hosted Linux cross-dump coverage so target platform detection and cDAC activation are exercised together.
- Assert which path was used, not only that activation succeeded, using provider invocation counts and/or a test-visible activation signal.
Acceptance criteria
- Positive cDAC activation is exercised in CI against a .NET 11 dump.
- Direct data-access and DBI routes are both covered.
- All three loading policies have independently identifiable test cases.
- The tests prove cDAC success does not consult the fallback provider.
- Legacy DAC behavior remains covered and unchanged.
- Lenguaje dominante
- C++
- Estrellas
- 1.3k
- Forks
- 407
- Merge medio
- 21 h 5 min
- PR fusionados (30 d)
- 78
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
- Sin plantilla de pull request
- Sin 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/diagnostics
-
Fix StackAndOtherTests.script line number verification for .NET 11 and Windows x64Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
dotnet/diagnostics#5884 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
dotnet/diagnostics#6225 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
dotnet/diagnostics#6213 ·
Los mantenedores suelen responder en 1 día
-
Isolate SOS hosting from other debugger extensions that use managed codePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
dotnet/diagnostics#6207 ·
Los mantenedores suelen responder en 1 día
-
Known Build Error
Dificultad 4/5 3-5 días Aptitud para principiantes 49/100
dotnet/diagnostics#6190 ·
Los mantenedores suelen responder en 1 día
Todos los issues de dotnet/diagnostics
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
AutoHotkey/AutoHotkey#380 ·
-
documentation
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Lua File: add readWhole()Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
grumpycoders/pcsx-redux#2667 ·
-
GCC 15.2: -Wcast-qual warning - cast discards const qualifier from pointer target type (H5trace.c)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
google/tensorstore#305 ·