Fix the 2 promise tests skipped on JavaScriptCore and Hermes in Runtime_tests.cpp
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
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- cpp, javascript
Línea de trabajo
Start with the skip conditions and the two named tests in valdi/test/integration/Runtime_tests.cpp, then run the provided Bazel command repeatedly on macOS JavaScriptCore and the affected engines. Trace the promise polyfill behavior for the race and unhandled rejection cases. Done when neither test is skipped on an engine where it can pass and both pass repeatedly.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Two tests in valdi/test/integration/Runtime_tests.cpp are skipped on some engines because of the promise polyfill:
| Test | Skipped on | Reason in the code |
|---|---|---|
supportsPromiseCallWithPromiseParametersStepByStep |
JavaScriptCore | Racy with the promise polyfill used on Linux JavaScriptCore |
supportsUnhandledRejectionHandler |
JavaScriptCore, Hermes | Doesn't work with the promise polyfill on Linux JavaScriptCore and on Hermes |
The skips check only the engine, so they also apply to JavaScriptCore on macOS, where the Linux polyfill isn't used.
What to do, for each test:
- Check whether it passes on macOS JavaScriptCore. If it does, narrow the skip to the polyfill case.
- Fix the race or the missing unhandled-rejection support in the polyfill, then remove the skip.
How to run
bazel test //valdi:test_integration --test_filter='*supportsPromiseCallWithPromiseParametersStepByStep*:*supportsUnhandledRejectionHandler*' --runs_per_test=20
Done when: neither test is skipped on an engine where it can pass, and both pass repeatedly.
See CONTRIBUTING.md before opening a pull request.
- Lenguaje dominante
- C++
- Estrellas
- 16.4k
- Forks
- 539
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- 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 Snapchat/Valdi
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
Rust codegen: RustMethodResolver fails to unwrap .nullable on optional interface/module methodsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
Todos los issues de Snapchat/Valdi
Issues similares
-
RTL-SDR: re-enumerating while streaming removes the in-use entry from the device selection dialogPosiblemente ocupada @dpc00 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 3 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
throneproj/Throne#2227 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
deepseek-ai/DeepGEMM-Ascend#49 ·
Los mantenedores suelen responder en 1 día