Flaky: test_voice_note_is_transcribed_and_answered misses the sendVoice reply under load
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 48/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 718
- フォーク
- 135
- 平均マージ
- 16時間 34分
- マージ済み PR(30日)
- 215
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
existence-master/Sentient のほかの issue
-
Telegram/Discord: tapping "Local only" in the /model list should ask too, and "/model Local only no" should cancel対応中かも @bernalalexis-try が 16 日前に担当しました。 オープンarea: channels enhancement good first issue priority: P2 size: S
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
existence-master/Sentient#457 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
area: devices good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
existence-master/Sentient#96 ·
メンテナーはふだん 1 日以内に返信
-
Memory-off /v1 turns: memory_remember's answer can echo the user's name and stored memories対応中かも @hskl18 が 2 日前に担当しました。 オープンarea: memory bug priority: P2 size: S
難易度 3/5 1〜3時間 初心者へのやさしさ 42/100
existence-master/Sentient#547 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Deleting a memory with a broken stored field fails in the REST route対応中かも @Ankit874396 が 5 日前に担当しました。 オープンarea: memory bug good first issue priority: P2 size: S
existence-master/Sentient#539 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Second look on qwen3:8b lets a code step that also empties a file through対応中かも @sahilphad07-sudo が 10 日前に担当しました。 オープンarea: engine bug priority: P2 size: S
existence-master/Sentient#518 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
existence-master/Sentient の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
area:docs documentation effort:M ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
mczielinski/ob-analytics#423 ·
メンテナーはふだん 1 日以内に返信
-
infra
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 3 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
vllm-project/vllm-ascend#21033 ·
メンテナーはふだん 1 日以内に返信