Skip to content

chore(listen): start cost router ON ramp at 5 percent - #20847

Merged
Git-on-my-level merged 1 commit into
mainfrom
lane/stt-router-5pct
Oct 6, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
lane/stt-router-5pct

Conversation

@Git-on-my-level

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

Copy link
Copy Markdown
Member

What changed and why

Router ON ramp step 1: STT_ROUTING_MODE=on with STT_ROUTING_ON_PERCENT=5 (sticky UID) on prod listen, in the Helm values and runtime overlay, with the runtime manifest and feature-flag registry regenerated.

Dev stays shadow/0. The composed manifest shows shadow/0 for dev and 'on'/5 for prod gke/backend-listen only. STT_ROUTING_MODE is quoted 'on' in the overlay so YAML cannot parse it as boolean true; the code compares the env string to 'on'.

Gate

Each ramp step (5 → 25 → 50 → 100, about 1–2 hours per step) is gated on the omi_stt_routing_cohort_* counters from #20745 (now live on stable at 5cbb008), comparing routing_arm=on versus off: terminal failure fraction, transcript-less fraction, fallback_exhausted, terminal_after_text, and paid-audio-seconds by provider. Queries are in the router lane .local/GATES.md. Missing series, missing sample floors, or NaN hold the ramp.

Product invariants affected

  • INV-MEM-4: the generated runtime manifest is in scope; canonical memory intake, promotion authority, and processing-host bindings are unchanged.

How it was verified

  • backend/.venv/bin/python backend/deploy/compose_runtime_env.py --check — manifest up to date; composed prod listen env is STT_ROUTING_MODE='on', STT_ROUTING_ON_PERCENT='5'; dev unchanged at shadow/0.
  • backend/.venv/bin/python scripts/render_feature_flag_registry.py — registry shows prod listen on / 5, no other host changed.
  • The serving code reads os.getenv('STT_ROUTING_MODE', 'off') == 'on' (string compare), which the quoted overlay value satisfies.

Review in cubic Turn on auto-fix

Sticky-UID step 1 of 5->25->50->100 on prod listen. Gated per step on
the omi_stt_routing_cohort_* counters shipped in #20745.
@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.

@Git-on-my-level

Copy link
Copy Markdown
Member Author

Independent review: Codex Luna (gpt-6-luna, read-only) APPROVE on ae2ad80. Blocking: none. Dev stays shadow/0; prod on/5 limited to gke/backend-listen; disruption gate, Redis timeout, and empty targets unchanged. Sequencing note: this PR's merge commit is what carries #20741/#20745 into a built image (serving 5cbb008 predates them). The 5% ramp gate starts after this deploys and cohort series appear.

@Git-on-my-level
Git-on-my-level merged commit 6fcc349 into main Oct 6, 2026
60 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/stt-router-5pct branch October 6, 2026 19:55
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