Repository navigation
ops(stt): restore Parakeet → Modulate → Soniox static order - #20354
Conversation
Soniox-first sent Parakeet failovers into Soniox's bounded send queue; the replay overflowed it (capacity_full) and ended the session, 3-5 per 10 min. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
1 issue found across 5 files
Confidence score: 5/5
- The comment above
STT_SERVICE_MODELSinbackend/deploy/runtime_env/prod.overlay.yamlno longer matches the fallback order and could mislead operators. Update it to describemodulate-velma-2as the first fallback afterparakeet-window.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="backend/deploy/runtime_env/prod.overlay.yaml">
<violation number="1" location="backend/deploy/runtime_env/prod.overlay.yaml:40">
P3: The comment above STT_SERVICE_MODELS still says the configured order 'Prefer[s] healthy Soniox as the static fallback', but this PR reverts the order so modulate-velma-2 is the first fallback after parakeet-window (the whole point of the rollback per the docs is to avoid failing over to Soniox). Rewrite or drop those comment lines so the rationale matches the deployed order.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| value: '3' | ||
| STT_SERVICE_MODELS: | ||
| value: parakeet-window,soniox,modulate-velma-2,dg-nova-3 | ||
| value: parakeet-window,modulate-velma-2,soniox,dg-nova-3 |
There was a problem hiding this comment.
P3: The comment above STT_SERVICE_MODELS still says the configured order 'Prefer[s] healthy Soniox as the static fallback', but this PR reverts the order so modulate-velma-2 is the first fallback after parakeet-window (the whole point of the rollback per the docs is to avoid failing over to Soniox). Rewrite or drop those comment lines so the rationale matches the deployed order.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At backend/deploy/runtime_env/prod.overlay.yaml, line 40:
<comment>The comment above STT_SERVICE_MODELS still says the configured order 'Prefer[s] healthy Soniox as the static fallback', but this PR reverts the order so modulate-velma-2 is the first fallback after parakeet-window (the whole point of the rollback per the docs is to avoid failing over to Soniox). Rewrite or drop those comment lines so the rationale matches the deployed order.</comment>
<file context>
@@ -37,7 +37,7 @@ overlay:
value: '3'
STT_SERVICE_MODELS:
- value: parakeet-window,soniox,modulate-velma-2,dg-nova-3
+ value: parakeet-window,modulate-velma-2,soniox,dg-nova-3
STT_RESILIENT_RECONNECT:
value: 'false'
</file context>
What
Prod live STT static order back to
parakeet-window,modulate-velma-2,soniox,dg-nova-3(config only: listen chart, prod overlay, generated runtime env, the pinned test and the doc line). Everything else from #20343 stays.Why
#20343 changed the prod order to Parakeet → Soniox → Modulate (live in listen
6e1ce64since 2026-10-02 15:33Z). Since then, Parakeet sessions that fail over (first-text deadline) land on Soniox, the failover replays the capture ring into Soniox's bounded send queue, and the Soniox leg dies withcapacity_fulland no successor — the session ends.Prod, 10-minute buckets,
omi_fallback_total{component="stt_live_session"}(aggregates only):Listen logs show
from=soniox to=unavailable reason=capacity_full outcome=exhaustedfollowed byconnection closedwithin ~100 ms, about 25 times in 25 minutes.The underlying defect (replay into Soniox must be paced or the queue sized for it, and a queue-full Soniox leg should fail over rather than end the session) is a follow-up; this PR restores the order that recovered.
Rollback
Not applicable — this is the rollback.
Deploy
Listen helm only, with the current image tag.
Product invariants affected
INV-MEM-4 — the runtime env manifest is a locked path; this changes the configured provider order and no memory behaviour.
Failure-Class: none
🤖 Generated with Claude Code