`execute_test.py` pollutes test output with error traces (MacOS)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start with app/execute_test.py, especially the multiprocessing-related lines linked in the issue, then compare its behavior with app/execute.py on MacOS and Linux. Reproduce the unwanted error traces and investigate approaches that silence test-only output without changing production behavior; done means the MacOS test output is clean while Linux behavior remains intact.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Follow-up issue of https://github.com/tiny-pilot/tinypilot/issues/1642.
We were able to silence the undesired stacktrace printing via https://github.com/tiny-pilot/tinypilot/pull/1708 – this, however, only appears to work on Linux systems and not on MacOS, because on MacOS, the multiprocessing package behaves differently.
We weren’t able to find a suitable workaround for MacOS, except if we’d account for this issue inside the underlying execute.py module (e.g. by trying to silence stderr there, with a /dev/null redirect). That is probably not a good trade-off, because we’d potentially be risking to change production behaviour only to fix a minor, local testing issue. There might be other approaches to solve this problem, though.
- Lingua principale
- Python
- Stelle
- 3.5k
- Fork
- 291
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
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 tiny-pilot/tinypilot
-
bug medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
tiny-pilot/tinypilot#1419 ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
tiny-pilot/tinypilot#1929 · 3 commenti ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
tiny-pilot/tinypilot#1899 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
tiny-pilot/tinypilot#1896 ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
tiny-pilot/tinypilot#1882 ·
Tutte le issue di tiny-pilot/tinypilot
Issue simili
-
pydanty:is-working
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pydantic/pydantic-ai#8843 ·
I maintainer di solito rispondono entro 1 giorno
-
breaking change enhancement server
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
sktime/sktime#11310 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno