Repository navigation
fix(monitoring): alert on capacity_full exhaustion and per-provider STT terminal failures - #22505
Merged
Git-on-my-level merged 3 commits intoOct 19, 2026
Conversation
…TT terminal failures On 2026-10-19 Modulate legs connected cleanly (0 connect failures) while sessions died after connecting and exhausted on capacity_full, mostly replay_ring_cap. The connect-error and chain-exhaustion alerts could not see it. Add two warning rules, backtested over 7 days of prod Prometheus: - omi-stt-capacity-full-exhausted: per to_mode, exhausted capacity_full fallbacks / listen-accepted > 0.15 (>= 100 accepted, 15m), for 30m. Fires 2x in 7d (parakeet, 10-14/10-15). - omi-stt-provider-terminal-failure-ratio: per provider, terminal failures / successful leg connects > 0.75 (>= 30 connects, 15m), for 30m. Fires 2x in 7d (modulate 10-18, parakeet 10-14). Failure-Class: FC-alert-never-provably-fired Co-Authored-By: Claude Opus 5.5 <[email protected]>
…list and live gate Failure-Class: FC-alert-never-provably-fired Co-Authored-By: Claude Opus 5.5 <[email protected]>
Failure-Class: FC-alert-never-provably-fired Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This was referenced Oct 19, 2026
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.
Summary
Adds two warning alerts for Live STT failures that the current rules cannot see. On 2026-10-19, Modulate legs connected cleanly (196 successes, 0 connect failures in 30m) while sessions died after connecting and exhausted on
capacity_full, mostlysubtype=replay_ring_cap. The connect-error rules ("provider leg connection errors", "Modulate failing") key on connect failures and stayed silent. The chain-exhaustion rule's 0.35 threshold is too coarse to catch this.omi-stt-capacity-full-exhausted: fires perto_modewhen exhaustedcapacity_fullfallbacks exceed 15% of listen-accepted sessions (at least 100 accepted in 15m) for 30m.safe_next_actionsays to split by the log fieldsubtype=: onlyadmissionmeans pod or window capacity;replay_ring_cap/buffer_capare session-local.omi-stt-provider-terminal-failure-ratio: fires perproviderwhen terminal failures exceed 75% of successful leg connects (at least 30 connects in 15m) for 30m.Verification
scripts/provision_monitoring_alerts.py --lintvalidated 143 definitions;scripts/alert_backtest.py --lintpassed with no new failures.pytest tests/unit/test_monitoring_alert_rule_contract.py test_provision_monitoring_alerts.py test_monitoring_alert_backtest.py test_monitoring_gmp_shadow.py test_live_stt_alert_behavior.py→ 196 passed.Product invariants affected
none
UI-Evidence: none -- alert rule definitions only
Failure-Class: FC-alert-never-provably-fired
🤖 Generated with Claude Code