Re-enable canLockAllJSContexts 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, typescript
- Área
- mobile-dev, testing
Línea de trabajo
Start with valdi/test/integration/Runtime_tests.cpp and the standalone test host that creates the root JS runtime. Trace how lockAllJSContexts dispatches to worker runtimes and where synchronous main-thread-to-worker dispatch is rejected. Choose one of the two approaches in the issue, remove the DISABLED_ prefix, then run the focused test and full //valdi:test_integration target.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
RuntimeFixture.DISABLED_canLockAllJSContexts in valdi/test/integration/Runtime_tests.cpp is disabled because it aborts the whole test binary.
The standalone test runtime runs the root JS runtime on the test's main thread. lockAllJSContexts synchronously locks every worker runtime, and the runtime forbids a synchronous dispatch from the main thread to a worker, so the call aborts.
What to do, either:
- Run the root JS runtime off the main thread in the standalone test host, or
- Make
lockAllJSContextslock worker runtimes without a synchronous main-thread-to-worker dispatch.
Then remove the DISABLED_ prefix.
How to run
bazel test //valdi:test_integration --test_filter='*canLockAllJSContexts*' --test_arg=--gtest_also_run_disabled_tests
Done when: the test runs without DISABLED_ and the full //valdi:test_integration target passes.
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