Re-enable canLockAllJSContexts in Runtime_tests.cpp
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- cpp, typescript
- Ambito
- mobile-dev, testing
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- C++
- Stelle
- 16.4k
- Fork
- 539
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Snapchat/Valdi
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
Rust codegen: RustMethodResolver fails to unwrap .nullable on optional interface/module methodsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Snapchat/Valdi
Issue simili
-
RTL-SDR: re-enumerating while streaming removes the in-use entry from the device selection dialogForse già presa @dpc00 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
throneproj/Throne#2227 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
deepseek-ai/DeepGEMM-Ascend#49 ·
I maintainer di solito rispondono entro 1 giorno