Skip to content

fix(parakeet): route /v2/language, export language-gate metrics from sync, move ramp to 10-23 - #23282

Merged
Git-on-my-level merged 3 commits into
mainfrom
p58/language-gate-done-by
Oct 22, 2026
Merged

Git-on-my-level merged 3 commits into
mainfrom
p58/language-gate-done-by

Conversation

@Git-on-my-level

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

Copy link
Copy Markdown
Member

Summary

Three P58 language-gate follow-ups (lead rulings 2de1ea, ca3cc3):

  1. Sync metrics were dropped (fix). backend/deploy/cloud_run_gmp_sync.yaml keeps only allowlisted
    omi_* names on backend-sync and backend-sync-backfill. omi_stt_language_gate_* (feat(stt): self-hosted spoken-language gate for prerecorded routing (P58) #23264) and
    omi_prerecorded_vendor_* (fix(stt): fail fast on prerecorded Modulate quota errors, breaker and burn counter (P58 Phase 0) #23263) were not on the list. Legacy sync makes almost all prerecorded
    probes. Prod 10:05–10:35Z after train T: 23,015 vendor probes on sync with 0 shadow series, against
    43/43 on backend. So the shadow readout that gates enforcement, and the Phase 0 vendor burn and
    breaker metrics, were invisible there. The PR adds both prefixes, plus a test that reads the real keep
    regex and asserts every such collector matches it.
  2. /v2/language was never routed (fix). The parakeet.omi.me Ingress lists only /v1/transcribe,
    /v2/transcribe, /v3/stream and /health. Every gate call 404ed at the internal load balancer: on
    10:47Z, the new cfbcf20 pods served /v2/transcribe and received zero /v2/language requests. This PR adds
    the path in prod and dev values. The fix(parakeet): bound backfill work and add demand-based packing #21910 pod-template guard now admits exactly that one Ingress path,
    on the same backend as /v2/transcribe; new mutation cases reject a different backend or any other path.
    It ships with a gcp_parakeet helm apply (an Ingress URL-map change, no pod restart from it).
    Rollback: helm rollback prod-omi-parakeet. Callers fall back to the vendor probe either way.
  3. Registry (chore). The STT_PRERECORDED_LANGUAGE_GATE_PERCENT ramp done_by moves 2026-10-22 →
    2026-10-23, with the ruling in the notes. On 10-22, the lead (ruling ca3cc3, under David's 6 h rule)
    ruled the same-day rollout not worth finishing: shadow accrues and enforcement ramps 5/25/100
    off-peak on 10-23. The rendered doc was regenerated, and check_feature_flag_registry.py reports OK.

No behaviour change. The sync allowlist takes effect on the next Cloud Run deploy of backend-sync and
backfill, which must land before the 10-23 ramp readout.

Failure-Class: FC-metric-dropped-by-scrape-allowlist

Verification

  • test_batch_audio_language.py (new allowlist test), test_attach_cloud_run_gmp_sidecar.py,
    test_fleet_deployment.py, test_parakeet_request_metrics.py, test_monitoring_gmp_shadow.py: pass
    via test.sh.
  • test_audio_fleet_helm.py and the other 11 files that render Parakeet/Ingress charts: pass (dev and prod against current main).
  • Prod (ro-prod GMP): omi_stt_language_gate_* series exist only for service_name=backend.

🤖 Generated with Claude Code

The 2026-10-22 rollout was ruled not worth finishing that day; shadow accrues
on 10-22 and STT_PRERECORDED_LANGUAGE_GATE_PERCENT ramps 5/25/100 off-peak on
10-23 with the same bars.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T11:03:22.913350Z ab3ee9e New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

…exports

The backend-sync GMP keep regex dropped omi_stt_language_gate_* and
omi_prerecorded_vendor_*. Legacy sync makes ~99.8% of prerecorded probes
(prod 10:05-10:35Z: 23,015 vendor probes on sync, 0 shadow series; backend
43/43), so the shadow readout and the Phase 0 burn and breaker metrics were
invisible there. A test now pins those collectors against the actual
sync allowlist.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Git-on-my-level Git-on-my-level changed the title chore(flags): move the language-gate ramp date to 2026-10-23 fix(monitoring): export language-gate metrics from sync; move gate ramp to 10-23 Oct 22, 2026
Callers reach Parakeet at parakeet.omi.me, whose Ingress lists only the
transcribe, stream and health prefixes, so every language-gate call 404ed
at the load balancer (prod 10:47Z: new cfbcf20 pods served /v2/transcribe
and received zero /v2/language requests). Add the path in prod and dev.
The #21910 pod-template guard admits exactly that one path, on the
transcribe backend; any other Ingress change still fails.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Git-on-my-level Git-on-my-level changed the title fix(monitoring): export language-gate metrics from sync; move gate ramp to 10-23 fix(parakeet): route /v2/language, export language-gate metrics from sync, move ramp to 10-23 Oct 22, 2026
@Git-on-my-level
Git-on-my-level merged commit 064e554 into main Oct 22, 2026
56 checks passed
@Git-on-my-level
Git-on-my-level deleted the p58/language-gate-done-by branch October 22, 2026 11:14
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