Repository navigation
chore(flags): renew lapsed SYNC_EARLY_CAPTURE_CLAMP_ENABLED review date - #25647
Conversation
SYNC_EARLY_CAPTURE_CLAMP_ENABLED's review_by (2026-11-17) passed, so test_pipeline_env_surface_holds_its_budget fails on main and blocks every train. Its registry decision is keep/terminal keep (default-on ops kill switch): renew to 2026-12-16 with that reason. BATCH_HELD_POLL_SKIP_ENABLED lapses after today. It is a default-off read-saving switch with no ramp plan: renew one week only, with a reason asking its owner to ramp or delete it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… in its renewal reason (panel F1) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Panel review-20261118t021543-d7d9: F1 fixed (reason now states the prod-on state). F2/F3: |
…P_ENABLED goes to its owner (panel r2) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
RULING (margin-40 lead, round-2 cap): ship as is at 345e4fb. Review round 2 (review-20261118t024122-2e1a) F1/F4 concern BATCH_HELD_POLL_SKIP_ENABLED running true in prod without recorded rollout gates; that is a real owner question, so this PR no longer touches that entry (it lapses at 2026-11-19T00:00Z) and its owner (firestore-lead) is asked to record the gates and renew, or turn it off, before then. F2: main re-reds on 2026-11-21 via LISTEN_BATCH_RECONNECT_ENABLED; owner capture-quality / Release notified on SCA-2283. F3 rejected (same as round-1 F4). Diff is now one entry: the lapsed clamp kill switch, registry keep/terminal keep, renewed to 2026-12-16 with reason. No third review. |
…iew (#25649) ## Why `BATCH_HELD_POLL_SKIP_ENABLED` (owner firestore-lead) has `review_by: 2026-11-18` in `backend/config/flag_budget.json`. After 2026-11-19T00:00Z, `test_flag_budget.py::test_pipeline_env_surface_holds_its_budget` fails on main and blocks every train. Separately, the prod overlay ran it `true` on all four workloads while its registry entry requires owner approval after replay and index readiness, an integration-first ramp, and terminal-loss/SLA/read and D+2 settled-SKU gates. None of that was recorded. ## Change - `backend/deploy/runtime_env/prod.overlay.yaml`: `BATCH_HELD_POLL_SKIP_ENABLED` `true` -> `false` on backend, backend-sync, backend-sync-backfill and backend-integration. This is the documented rollback: OFF restores the exact old query/read sequence, no migration. - `config/feature-flags.yaml`: record the 2026-11-18 gate results and the decision in the registry notes. - `backend/config/flag_budget.json`: renew `review_by` to 2026-12-02 with the reason. - Regenerated `backend/deploy/runtime_env.yaml` and `backend/docs/feature-flag-registry.md`; updated the render pin in `test_render_backend_runtime_env.py`. ## Gate results (2026-11-18) Verified: - All four prod/dev capture-first poll indexes READY (`gcloud firestore indexes composite list`). - `scripts.batch_pipeline_poll_state_census` PASS (0) on prod and dev. Not recorded or not met: - Query replay and real query plans. - Integration-first ramp (it was enabled on all four at once). - Terminal loss zero, held/summary SLA flat, caller reads per admitted audio-hour, D+2 settled SKU. ## Contract Config and registry only. No code path, reader or data change. OFF is the existing kill switch and restores the old queries. ## Product invariants affected - INV-MEM-4 ## Test `pytest tests/unit/test_flag_budget.py tests/unit/test_render_backend_runtime_env.py tests/unit/test_backend_runtime_env_validator.py tests/unit/test_batch_terminal_poll_skip.py` -> 482 passed. `compose_runtime_env.py --check`, `render_feature_flag_registry.py --check` and `check_feature_flag_registry.py` pass. Note: the first commit also renews `SYNC_EARLY_CAPTURE_CLAMP_ENABLED` (same change as #25647) so this branch is green on its own. If #25647 merges first, that commit will be dropped on rebase. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/25649?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="View guided diff" src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a> <a href="https://www.cubic.dev/action/auto-fix/pr/BasedHardware/omi/25649?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F25649&source=description" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img alt="Turn on auto-fix" src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
Why
SYNC_EARLY_CAPTURE_CLAMP_ENABLED'sreview_by(2026-11-17) passed, sotest_flag_budget.py::test_pipeline_env_surface_holds_its_budgetfails on main (Backend Unit Tests red on main since ~01:41Z 11-18) and blocks every train, including #25608's. ADR 0006: renew with a reason or delete.Change
SYNC_EARLY_CAPTURE_CLAMP_ENABLED: registrydecision: keep,terminal: keep, default-on ops kill switch. Renewed to 2026-12-16 with that reason.BATCH_HELD_POLL_SKIP_ENABLED: not changed here (removed after review round 2). It runs true in prod on all four workloads; its owner (firestore-lead) is asked to record its rollout gates and renew, or turn it off, before it lapses at 2026-11-19T00:00Z.LISTEN_BATCH_RECONNECT_ENABLED(2026-11-20) left to its owner.The other main-red cause (
lifecycle_record_pending_headmanifest dates) is already fixed on main by 74c8708.Contract
Data-only change to
backend/config/flag_budget.json; no runtime behavior, reader or flag value changes.Test
pytest tests/unit/test_flag_budget.py-> 26 passed.🤖 Generated with Claude Code