Repository navigation
chore(charts): serve listen from velma, then soniox, then deepgram - #12462
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The serving order was pinned to Deepgram-first in nine places:
That no longer matches how production runs, and the next
helm upgradeor Cloud Rundeploy would silently revert live serving to Deepgram-primary.
The chart values are not the source of truth —
DEFAULT_MODELS_BY_SURFACEinconfig/stt_provider_policy.pyis, and bothtest_backend_listen_helm_defaults.pyandvalidate-backend-runtime-env.pyassert every deployment matches it. Changing the chartsalone fails those contracts, so this changes the policy and propagates it everywhere.
New order
hands the stream to Soniox instead of ending the session. This slot is what that fix
relies on.
dg-*entry in the list, soremoving it would strip BYOK users of Deepgram entirely.
overwhelmingly auto-detect, so it was never selected on this surface.
Everything updated
config/stt_provider_policy.pycharts/backend-listen/{prod,dev}charts/pusher/{prod,dev}deploy/runtime_env/{_base,dev.overlay,prod.overlay}.yamldeploy/runtime_env.yamlcompose_runtime_env.pydeploy/_generate_runtime_env_sources.py.github/workflows/gcp_backend_pusher.ymlvalidate-backend-runtime-env.py --env prodand--env devboth pass, and the affectedcontract tests pass under
test.sh.Parakeet stays last
Dropping Parakeet broke the explicit client route:
/v4/listen?stt_service=parakeetis honored only while Parakeet is present in the model list, so removing it silently
disabled that route. The hermetic e2e wire-contract test caught this. It is now last in
the chain — never selected by default (streaming Parakeet is English-only and live
sessions are overwhelmingly auto-detect), but still reachable on request.
Pusher
Included because the validator requires every GKE workload's
STT_SERVICE_MODELStoequal the streaming policy. Its
DEEPGRAM_SELF_HOSTED_ENABLED=true/DEEPGRAM_SELF_HOSTED_URL=https://dg.omi.mesettings are stale: there is nodeepgram-self-hosteddeployment in the cluster, the endpoint does not acceptconnections, and pusher logs show no Deepgram traffic. Nothing is lost by reordering it.
Failure-Class: none
The
fix:commit in this branch repairs a regression introduced earlier in the samebranch (dropping Parakeet disabled the explicit
?stt_service=parakeetroute) and caughtby the hermetic e2e wire contract before merge. No shipped behaviour ever carried the
defect, so there is no production failure class to record.
Product invariants affected
changes STT provider ordering only. No Firebase project, Firestore database, account
universe, or serving endpoint changes; every environment keeps the plane it already had.
intake, consolidation, or promotion path is touched. Transcript content reaches memory
by the same route regardless of which provider produced it.