Run shared transport behavior tests on every platform

Abierto
#1,917 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@bghgary ya está trabajando en esto.

Desde el 4/11/2026.

Evaluación

Dificultad
3/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
68/100
Tipo de issue
Refactorización
Claridad
Bien especificado
Estado de actividad
Activo
Área
testing

Línea de trabajo

Start with Tests/UrlRequestErrorReporting.cpp in the UrlLib repository and locate the SKIP_WITHOUT_TRANSPORT_ERROR_DETAIL macro definition plus each of the six tests it guards. Split each test so the shared checks (failure status, response state, request reuse, cancellation timeout) run everywhere while only error-symbol/error-code assertions stay behind the platform guard, paying attention to MissingAppResourceReportsError being Apple-only. Then grep the test suite for remaining platform guards repeating the same pattern. Done means the shared assertions execute on Windows and the suite still passes on the other backends.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

[Filed by Copilot on behalf of @bghgary]

Several existing transport tests skip entire platforms rather than only assertions tied to platform-specific diagnostics.

In UrlRequestErrorReporting.cpp, SKIP_WITHOUT_TRANSPORT_ERROR_DETAIL skips six tests entirely on Windows. This suppresses shared status, reuse, and cancellation checks along with diagnostic assertions. For example, AbortInterruptsInFlightRequest never checks whether cancellation completes within its timeout on Windows. MissingAppResourceReportsError is separately Apple-only.

Please separate shared behavior checks from backend-specific diagnostic expectations:

  • Run failure-status, response-state, request-reuse, and cancellation checks on every supported backend.
  • Keep platform-specific error-symbol and error-code assertions separate, so unsupported diagnostics do not suppress shared checks.
  • Audit the remaining platform guards for the same pattern.

These exclusions predate the response-body fixes in PR #38; this issue tracks the broader existing coverage gap.

Lenguaje dominante
C++
Estrellas
931
Forks
169
Merge medio
2 d 17 h
PR fusionados (30 d)
66

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de BabylonJS/BabylonNative

Todos los issues de BabylonJS/BabylonNative

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.