Skip to content

ops(stt): restore Parakeet → Modulate → Soniox static order - #20354

Merged
Git-on-my-level merged 1 commit into
mainfrom
ops/stt-order-rollback
Oct 2, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
ops/stt-order-rollback

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

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 6e1ce64 since 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 with capacity_full and no successor — the session ends.

Prod, 10-minute buckets, omi_fallback_total{component="stt_live_session"} (aggregates only):

Window parakeet→modulate recovered parakeet→soniox recovered / degraded soniox→unavailable exhausted
15:09–15:29Z (before) 9–16 0 / 0 0
15:39–15:59Z (after) 0–1 2–3 / 1–3 3–5

Listen logs show from=soniox to=unavailable reason=capacity_full outcome=exhausted followed by connection closed within ~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

Review in cubic

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]>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 5 files

Confidence score: 5/5

  • The comment above STT_SERVICE_MODELS in backend/deploy/runtime_env/prod.overlay.yaml no longer matches the fallback order and could mislead operators. Update it to describe modulate-velma-2 as the first fallback after parakeet-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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>

@Git-on-my-level
Git-on-my-level merged commit 4dff80e into main Oct 2, 2026
57 of 59 checks passed
@Git-on-my-level
Git-on-my-level deleted the ops/stt-order-rollback branch October 2, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant