Repository navigation
config: graduate six ramp5 Firestore read levers to 100 - #23630
Merged
Merged
Conversation
…h_cache, backfill_task_reads, historical_scan_memo, ledger_purge_coalesce, queue_age_sample_budget) Runbook ramp5 rule met: 5% literal served 17:56:02Z, 3h soak, verify PASS 19Z+20Z, lease_1h non-empty. REPLACE-mode 17-key literal via set_levers.py; contract tests 121 passed.
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
Firestore reads loop config: graduate the six runbook-ramped levers 5 → 100 in one
literal (17 keys, generated with
avo/firestore-reads/set_levers.py, REPLACE-mode,byte-identical at all 43 declaration sites):
singleton_loops,usage_month_cache,backfill_task_reads,historical_scan_memo,ledger_purge_coalesce,queue_age_sample_budget: 5 → 100.batch_privacy_memoize100,memory_list_index_window25,people_scan_dedupe0, all graduates at 100.Gate evidence (runbook ramp5 rule): the 5% literal has been served on all four Cloud Run
services since 2026-10-25T17:56:02Z (#23599 c304e3a, backend-f3e669f-40214727824-1,
literal verified); by merge the 3h soak holds. verify PASS on the 19:00Z and 20:00Z ticks
(2 consecutive post-serve) with no UNSAFE/FALSIFIED lever and
flag_off: [].singleton_loopslease gate:lease_1hnon-empty in snapshot 2026-10-25T19:00:28Z(publish_all_queue_oldest_ready_ages acquired 12, reconcile_abandoned_byok 58;
lease_gke_ok true). Levers INCONCLUSIVE at 5% follow the loop's graduation precedent
(WQ2 batch, #23179): the absolute readout at 100% decides.
Why now: the six levers' caller pools are the top remaining Firestore read hotspots —
conversation_finalization_jobsscans ~29M reads/h anddurable_queue_agesampling~21.5M reads/h in the 17–18Z hour (snapshot 2026-10-25T19:00:28Z, pre-serve baseline).
Config only; no code paths change. Off-path for every lever is the current served behavior.
Product invariants affected
FIRESTORE_READ_LEVERSkey; no routing or ownership change.Test plan
backend/tests/unit/test_render_backend_runtime_env.py(93) +backend/tests/unit/test_verify_pusher_config_references.py(28): 121 passed on this branch (2026-10-25).runtime_env.yaml, flag registry, and both pinned contract tests.Rollout