Repository navigation
chore(listen): start cost router ON ramp at 5 percent - #20847
Merged
Merged
Conversation
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.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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. |
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.
What changed and why
Router ON ramp step 1:
STT_ROUTING_MODE=onwithSTT_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 showsshadow/0for dev and'on'/5for prodgke/backend-listenonly.STT_ROUTING_MODEis 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 at5cbb008), comparingrouting_arm=onversusoff: 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
How it was verified
backend/.venv/bin/python backend/deploy/compose_runtime_env.py --check— manifest up to date; composed prod listen env isSTT_ROUTING_MODE='on',STT_ROUTING_ON_PERCENT='5'; dev unchanged atshadow/0.backend/.venv/bin/python scripts/render_feature_flag_registry.py— registry shows prod listenon/5, no other host changed.os.getenv('STT_ROUTING_MODE', 'off') == 'on'(string compare), which the quoted overlay value satisfies.