Repository navigation
SCA-3503: Retire three inactive margin levers - #25913
Conversation
Co-authored-by: multica-agent <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a6a7848865
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| class ListenReceiver(ReplayFilterMixin): | ||
| def __init__(self, host: Any, channel_configs: List[ChannelConfig], channel_id_to_index: Dict[int, int]): | ||
| self.soniox_idle_budget = SonioxIdleBudget(uid_provider=lambda: host.request.uid) | ||
| self.soniox_idle_budget = SonioxIdleBudget() |
There was a problem hiding this comment.
Add the required listen pipeline change note
This retires the session-specific Soniox idle policy and its experiment telemetry, but the commit adds no note under backend/docs/listen_pusher_pipeline/changes/. The applicable backend/AGENTS.md explicitly requires a same-PR change note for audio, transcription, and listen/pusher WebSocket changes. Add a dated note describing the retirement, retained fleet policy, rollout state, and supporting evidence; removing the old env contract from the pipeline document does not satisfy that separate requirement.
AGENTS.md reference: backend/AGENTS.md:L164-L164
Useful? React with 👍 / 👎.
Co-authored-by: multica-agent <[email protected]>
## What changed and why SCA-3688 retires the three inactive controls with terminal kill decisions. - DEC-BTR-001 removes live Parakeet window diarization configuration. The offline shape qualification harness explicitly opts into the existing speaker embedding path. - DEC-STT-006 removes the Soniox elapsed-axis experiment. The compact send map remains authoritative for placement, including when the wire ledger is disabled. Managed Soniox capture-axis diagnostics, the Modulate control measurement, and prerecorded Soniox are preserved. - DEC-STT-005 removes the dedicated Soniox reconnect ring and flag-only death typing. The strike-accounting fixes in #22734 and #23771 are on main. Shared window replay, cross-provider recovery, and the separate idle reopen path are preserved. Read-only production sampling confirmed inactive control values across listener, pusher and Cloud Run surfaces. Compact placement remains the incumbent path for both wire-ledger settings. Regenerated the runtime manifest and flag catalog from their sources. #25913 covers separate Soniox controls. ## Product invariants affected - INV-MEM-4 is selected for the listen receiver path. This change preserves conversation ownership and operates on inactive STT provider paths. ## How it was verified - Feature-flag registry check at 2026-11-22, 109 registry fixtures, and generated runtime manifest check passed. - Repository preflight passed 55 checks. The bounded pre-push gate passed backend type checking, its 40 selected unit files, and the OpenAPI compatibility check. GitHub CI covers the full selector. - The candidate passed 152 selected backend unit files, including the flag budget and reason-label ratchets, managed and legacy replay, live demand switching, real Soniox WebSocket closure, wire-ledger on/off placement, and offline speaker qualification under both legacy toggle values. ## Release ordering Land #26007 (SCA-3683) first. The source registry merges cleanly. Regenerate the catalog from the combined source after rebasing this PR. Release owns merge and rollout. ## UI evidence UI-Evidence: none -- backend STT and flag cleanup ## Failure class (fixes) Failure-Class: none Line-Count-Exception: backend/utils/stt/parakeet_window.py | 1545 -> 1547 | Explicit offline qualification argument keeps the live default disabled and preserves existing qualification coverage.
Summary
SONIOX_IDLE_CLOSE_SECONDSand the aggregate connected-seconds metric remain available.Invariants
INV-MEM-4. Projection receipts, privacy fences, and memory promotion authority follow the existing paths.
Batch pipeline tuning
The fresh merge poll limit stays at 32 before and after. The pending-page limit stays at 160 before and after, and the first-pending limit stays at 1.
Verification