Flaky: test_voice_note_is_transcribed_and_answered misses the sendVoice reply under load
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 48/100
Direzione di ricerca
The failing assertion is assert len(voices) == 1 at line 385 of tests/channels/test_telegram.py, where voices is built from the sent list of recorded (method, kwargs) calls. Start by reading how tg.say(...) reaches the sendVoice path when voice_replies = True, and by running that test under parallel load (for example pytest -n 8) to reproduce. Done means the test waits a bounded time for the sendVoice call before asserting and passes repeatedly under load.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Test: tests/channels/test_telegram.py::test_voice_note_is_transcribed_and_answered
Where: a local full-suite run (Windows, pytest -n 8, worker gw2) while testing #542. It was not a CI run. The heavy dependency bumps don't look related: the test passed 3 times out of 3 when run alone in the same venv.
Error:
voices = [kwargs for method, kwargs in sent if method == "sendVoice"]
> assert len(voices) == 1
E assert 0 == 1
tests\channels\test_telegram.py:385: AssertionError
Every assertion before it passed: the transcription, the "Heard:" echo, the model call and the text reply "It's sunny.". Only the voice reply was missing.
Likely cause: the spoken reply (voice_replies = True) is sent after the text reply, and the test asserts right after tg.say(...) returns. On a loaded machine the sendVoice call (synthesis or encoding of the reply audio) hadn't landed yet. A fix would wait for the sendVoice call with a bounded poll instead of asserting at once.
- Lingua principale
- Python
- Stelle
- 716
- Fork
- 132
- Merge medio
- 16h 34m
- PR unite (30g)
- 215
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 existence-master/Sentient
-
Telegram/Discord: tapping "Local only" in the /model list should ask too, and "/model Local only no" should cancelForse già presa @bernalalexis-try l’ha presa 15 giorni fa. Apertaarea: channels enhancement good first issue priority: P2 size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
existence-master/Sentient#457 · 4 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
area: devices good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
existence-master/Sentient#96 ·
I maintainer di solito rispondono entro 1 giorno
-
Memory-off /v1 turns: memory_remember's answer can echo the user's name and stored memoriesForse già presa @hskl18 l’ha presa 1 giorno fa. Apertaarea: memory bug priority: P2 size: S
Difficoltà 3/5 1-3 ore Idoneità per principianti 42/100
existence-master/Sentient#547 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Deleting a memory with a broken stored field fails in the REST routeForse già presa @Ankit874396 l’ha presa 3 giorni fa. Apertaarea: memory bug good first issue priority: P2 size: S
existence-master/Sentient#539 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Second look on qwen3:8b lets a code step that also empties a file throughForse già presa @sahilphad07-sudo l’ha presa 9 giorni fa. Apertaarea: engine bug priority: P2 size: S
existence-master/Sentient#518 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di existence-master/Sentient
Issue simili
-
Paraxial.trace returns NaN for an object at infinity when the entrance pupil is at the first surfaceAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement ios launcher
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Substrait consumer doesn't recognise `shift_left` / `shift_right` from functions_arithmetic.yamlApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
apache/datafusion#27059 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
loteran/Arctis-Sound-Manager#368 ·
I maintainer di solito rispondono entro 1 giorno
-
feed submission
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
MobilityData/mobility-database-catalogs#1787 ·
I maintainer di solito rispondono entro 2 giorni