Repository navigation
chore(flags): turn off BATCH_HELD_POLL_SKIP_ENABLED and renew its review - #25649
Merged
Merged
Conversation
review_by 2026-11-17 lapsed, so test_flag_budget.py fails on main and blocks every train. Default-on ops kill switch; registry decision keep, terminal keep. Renewed to 2026-12-16. Failure-Class: none
The flag ran true on all four prod workloads without the recorded owner approval its registry entry requires. Verified 2026-11-18: all four prod/dev capture-first poll indexes READY and the poll-state census PASS (0). Not recorded or not met: query replay, real query plans, the integration-first ramp, terminal-loss zero, held/summary SLA flat, caller reads per admitted audio-hour, and D+2 settled SKU. Turn it off on backend, backend-sync, backend-sync-backfill and backend-integration (documented rollback, no migration) and renew review_by to 2026-12-02 for a recorded gated ramp. Failure-Class: none
# Conflicts: # backend/config/flag_budget.json
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.
Why
BATCH_HELD_POLL_SKIP_ENABLED(owner firestore-lead) hasreview_by: 2026-11-18inbackend/config/flag_budget.json. After 2026-11-19T00:00Z,test_flag_budget.py::test_pipeline_env_surface_holds_its_budgetfails on main and blocks every train. Separately, the prod overlay ran ittrueon 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_ENABLEDtrue->falseon 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: renewreview_byto 2026-12-02 with the reason.backend/deploy/runtime_env.yamlandbackend/docs/feature-flag-registry.md; updated the render pin intest_render_backend_runtime_env.py.Gate results (2026-11-18)
Verified:
gcloud firestore indexes composite list).scripts.batch_pipeline_poll_state_censusPASS (0) on prod and dev.Not recorded or not met:
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
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 --checkandcheck_feature_flag_registry.pypass.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