Repository navigation
ramp controller: classify the P26 language-route gate tokens as cohort failures - #23083
Merged
Merged
Conversation
…t failures fleet_gate (omi-workspace 3172987) added two verdict tokens: unsafe_parakeet_language_route (cohort audio routed to Parakeet in an unknown/unsupported language) and language_route_unknown (completed units without route evidence). Both are deliberate fail-closed verdicts like recovery_spend_unknown and quarantine_projection_p95_unknown, not gate read errors, so the closed COHORT_FAIL list must roll back one step on them; unclassified they HOLD as "gate unavailable" (C1) and a failing cohort stays on. Tests pin both tokens in FLEET_GATE_VERDICT_FAIL_TOKENS and assert ROLLBACK_ONE, not hold.
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. |
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
Branch
lr/06-ramp-tokensintointegration/legacy-retire.fleet_gate (omi-workspace 3172987) added the verdict tokens
unsafe_parakeet_language_routeandlanguage_route_unknown. Both aredeliberate fail-closed cohort verdicts (like
recovery_spend_unknown), notgate read errors, so they join
COHORT_FAIL_TOKENS(ROLLBACK_ONE); leftunclassified the controller HOLDs as "gate unavailable" (C1) and a failing
cohort stays on. No other gate, floor, or list is changed.
Lane / contract
Lane 06, contract(s) g (fleet-gate verdict tokens -> controller action); owner sign-offs for edits to other lanes' files: none
Product invariants affected
This change does not alter the Firebase/Firestore project or serving endpoints.
Verification
94 targeted checks passed in
tests/unit/test_ramp_controller.py(backend/test.sh with BACKEND_UNIT_TEST_FILE_LIST, local .venv layer, omi-heavy/nice), including new parametrized cases asserting both tokens ROLLBACK_ONE and never HOLD as gate-unavailable. Not run locally: the full PR CI matrix; no gate/script under infra/rollout changed here.Rollback
Revert the commit; the classification is pure closed-list membership in ramp_controller.py, no flag or migration involved.
Failure-Class: none