Repository navigation
config(firestore-reads): subscription TTL 55s; action_items_ttl120 5%; memory_list_index_window 25 - #24639
Conversation
…che runbook states the live 5% cohort - FSR_SUBSCRIPTION_TTL_SECONDS 60 -> 55 on every service. cl2-replay's verified replay (1,049 faulted transitions, 2026-11-04 20:12Z) found that, with both invalidations lost, the Redis EX 60 entry is still served at exactly +60.000s: 37 mismatches at 0s margin. 55s gives 0 with 5s margin. - external-list-reads.md no longer says no deployment values change; #24623 enabled the adaptive polling cache for 5% of API keys (Luna r1 minor on #24623). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ing_head 5, memory_list_index_window 0 -> 25 Ordinary read levers under David's 2026-11-04 policy (5% for 1-2h, then 100): - action_items_ttl120 / lifecycle_record_pending_head (code #24624) start at 5%. - memory_list_index_window returns to 25, where it soaked 48h clean before the #24596/#24601 revert; that revert objected to the 0->100 jump, not the lever. Rollback: set any key back to 0. 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. |
There was a problem hiding this comment.
2 issues found across 11 files
Confidence score: 4/5
- The rollout comments and runtime-env README still describe the memory cohort as 0, while the configuration now sets it to 25%; operators could misread the rollout scope or rollback guidance. Update the comments in
backend/deploy/runtime_env/_base.yamlandbackend/deploy/runtime_env/prod.overlay.yaml, plus the README, to match the intended cohort.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="backend/deploy/runtime_env/_base.yaml">
<violation number="1" location="backend/deploy/runtime_env/_base.yaml:32">
P3: This shared literal makes the rollout documentation and prod overlay comments false: they still describe the base/GKE/jobs/desktop/dev memory cohort as 0. Update those contract comments so operators do not misread the deployed cohort or rollback state.</violation>
</file>
<file name="backend/deploy/runtime_env/prod.overlay.yaml">
<violation number="1" location="backend/deploy/runtime_env/prod.overlay.yaml:554">
P3: `memory_list_index_window` is now 25 in this literal, but the adjacent rollout comment and runtime-env README still say `memory=0`. Update the scope and rollback documentation to match the intentional 25% cohort.</violation>
</file>
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
| SYNC_POLL_BACKOFF_ENABLED: {value: 'false', category: rollout} | ||
| FIRESTORE_READ_LEVERS: | ||
| value: '{"action_items_page":100,"backfill_task_reads":100,"batch_privacy_memoize":0,"bpp_decision_cache":100,"bpp_generation_memo":100,"candidates_page":100,"canonical_statuses_dedupe":100,"conversation_list_cursor":100,"deletion_marker_cache":100,"finjob_candidate_queries":100,"historical_scan_memo":100,"ledger_purge_coalesce":100,"mcp_conversation_cards_cache":100,"memory_list_index_window":0,"people_scan_dedupe":100,"privacy_checks_shadow":100,"privacy_ttl60":100,"queue_age_sample_budget":100,"request_read_dedupe":100,"serving_config_cache":100,"singleton_loops":100,"subscription_cache":100,"sync_snapshot_resolve_cache":100,"usage_month_cache":0,"usage_month_total":0}' | ||
| value: '{"action_items_page":100,"action_items_ttl120":5,"backfill_task_reads":100,"batch_privacy_memoize":0,"bpp_decision_cache":100,"bpp_generation_memo":100,"candidates_page":100,"canonical_statuses_dedupe":100,"conversation_list_cursor":100,"deletion_marker_cache":100,"finjob_candidate_queries":100,"historical_scan_memo":100,"ledger_purge_coalesce":100,"lifecycle_record_pending_head":5,"mcp_conversation_cards_cache":100,"memory_list_index_window":25,"people_scan_dedupe":100,"privacy_checks_shadow":100,"privacy_ttl60":100,"queue_age_sample_budget":100,"request_read_dedupe":100,"serving_config_cache":100,"singleton_loops":100,"subscription_cache":100,"sync_snapshot_resolve_cache":100,"usage_month_cache":0,"usage_month_total":0}' |
There was a problem hiding this comment.
P3: This shared literal makes the rollout documentation and prod overlay comments false: they still describe the base/GKE/jobs/desktop/dev memory cohort as 0. Update those contract comments so operators do not misread the deployed cohort or rollback state.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At backend/deploy/runtime_env/_base.yaml, line 32:
<comment>This shared literal makes the rollout documentation and prod overlay comments false: they still describe the base/GKE/jobs/desktop/dev memory cohort as 0. Update those contract comments so operators do not misread the deployed cohort or rollback state.</comment>
<file context>
@@ -29,7 +29,7 @@ environment_shared:
SYNC_POLL_BACKOFF_ENABLED: {value: 'false', category: rollout}
FIRESTORE_READ_LEVERS:
- value: '{"action_items_page":100,"backfill_task_reads":100,"batch_privacy_memoize":0,"bpp_decision_cache":100,"bpp_generation_memo":100,"candidates_page":100,"canonical_statuses_dedupe":100,"conversation_list_cursor":100,"deletion_marker_cache":100,"finjob_candidate_queries":100,"historical_scan_memo":100,"ledger_purge_coalesce":100,"mcp_conversation_cards_cache":100,"memory_list_index_window":0,"people_scan_dedupe":100,"privacy_checks_shadow":100,"privacy_ttl60":100,"queue_age_sample_budget":100,"request_read_dedupe":100,"serving_config_cache":100,"singleton_loops":100,"subscription_cache":100,"sync_snapshot_resolve_cache":100,"usage_month_cache":0,"usage_month_total":0}'
+ value: '{"action_items_page":100,"action_items_ttl120":5,"backfill_task_reads":100,"batch_privacy_memoize":0,"bpp_decision_cache":100,"bpp_generation_memo":100,"candidates_page":100,"canonical_statuses_dedupe":100,"conversation_list_cursor":100,"deletion_marker_cache":100,"finjob_candidate_queries":100,"historical_scan_memo":100,"ledger_purge_coalesce":100,"lifecycle_record_pending_head":5,"mcp_conversation_cards_cache":100,"memory_list_index_window":25,"people_scan_dedupe":100,"privacy_checks_shadow":100,"privacy_ttl60":100,"queue_age_sample_budget":100,"request_read_dedupe":100,"serving_config_cache":100,"singleton_loops":100,"subscription_cache":100,"sync_snapshot_resolve_cache":100,"usage_month_cache":0,"usage_month_total":0}'
category: rollout
FSR_QUEUE_AGE_PUBLISHER:
</file context>
| # carries people=5, memory=0, privacy=0 (finjob=5). | ||
| # Lead train: listen -> pusher -> Cloud Run; do not enable additional monthly readers here. | ||
| FIRESTORE_READ_LEVERS: {value: '{"action_items_page":100,"backfill_task_reads":100,"batch_privacy_memoize":0,"bpp_decision_cache":100,"bpp_generation_memo":100,"candidates_page":100,"canonical_statuses_dedupe":100,"conversation_list_cursor":100,"deletion_marker_cache":100,"finjob_candidate_queries":100,"historical_scan_memo":100,"ledger_purge_coalesce":100,"mcp_conversation_cards_cache":100,"memory_list_index_window":0,"people_scan_dedupe":100,"privacy_checks_shadow":100,"privacy_ttl60":100,"queue_age_sample_budget":100,"request_read_dedupe":100,"serving_config_cache":100,"singleton_loops":100,"subscription_cache":100,"sync_snapshot_resolve_cache":100,"usage_month_cache":0,"usage_month_total":0}', category: rollout} | ||
| FIRESTORE_READ_LEVERS: {value: '{"action_items_page":100,"action_items_ttl120":5,"backfill_task_reads":100,"batch_privacy_memoize":0,"bpp_decision_cache":100,"bpp_generation_memo":100,"candidates_page":100,"canonical_statuses_dedupe":100,"conversation_list_cursor":100,"deletion_marker_cache":100,"finjob_candidate_queries":100,"historical_scan_memo":100,"ledger_purge_coalesce":100,"lifecycle_record_pending_head":5,"mcp_conversation_cards_cache":100,"memory_list_index_window":25,"people_scan_dedupe":100,"privacy_checks_shadow":100,"privacy_ttl60":100,"queue_age_sample_budget":100,"request_read_dedupe":100,"serving_config_cache":100,"singleton_loops":100,"subscription_cache":100,"sync_snapshot_resolve_cache":100,"usage_month_cache":0,"usage_month_total":0}', category: rollout} |
There was a problem hiding this comment.
P3: memory_list_index_window is now 25 in this literal, but the adjacent rollout comment and runtime-env README still say memory=0. Update the scope and rollback documentation to match the intentional 25% cohort.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At backend/deploy/runtime_env/prod.overlay.yaml, line 554:
<comment>`memory_list_index_window` is now 25 in this literal, but the adjacent rollout comment and runtime-env README still say `memory=0`. Update the scope and rollback documentation to match the intentional 25% cohort.</comment>
<file context>
@@ -551,7 +551,7 @@ overlay:
# carries people=5, memory=0, privacy=0 (finjob=5).
# Lead train: listen -> pusher -> Cloud Run; do not enable additional monthly readers here.
- FIRESTORE_READ_LEVERS: {value: '{"action_items_page":100,"backfill_task_reads":100,"batch_privacy_memoize":0,"bpp_decision_cache":100,"bpp_generation_memo":100,"candidates_page":100,"canonical_statuses_dedupe":100,"conversation_list_cursor":100,"deletion_marker_cache":100,"finjob_candidate_queries":100,"historical_scan_memo":100,"ledger_purge_coalesce":100,"mcp_conversation_cards_cache":100,"memory_list_index_window":0,"people_scan_dedupe":100,"privacy_checks_shadow":100,"privacy_ttl60":100,"queue_age_sample_budget":100,"request_read_dedupe":100,"serving_config_cache":100,"singleton_loops":100,"subscription_cache":100,"sync_snapshot_resolve_cache":100,"usage_month_cache":0,"usage_month_total":0}', category: rollout}
+ FIRESTORE_READ_LEVERS: {value: '{"action_items_page":100,"action_items_ttl120":5,"backfill_task_reads":100,"batch_privacy_memoize":0,"bpp_decision_cache":100,"bpp_generation_memo":100,"candidates_page":100,"canonical_statuses_dedupe":100,"conversation_list_cursor":100,"deletion_marker_cache":100,"finjob_candidate_queries":100,"historical_scan_memo":100,"ledger_purge_coalesce":100,"lifecycle_record_pending_head":5,"mcp_conversation_cards_cache":100,"memory_list_index_window":25,"people_scan_dedupe":100,"privacy_checks_shadow":100,"privacy_ttl60":100,"queue_age_sample_budget":100,"request_read_dedupe":100,"serving_config_cache":100,"singleton_loops":100,"subscription_cache":100,"sync_snapshot_resolve_cache":100,"usage_month_cache":0,"usage_month_total":0}', category: rollout}
FSR_USAGE_MONTH_TOTAL_EPOCH: {value: c2fs_20261026_r1, category: rollout}
# Batch ladder 2026-10-29 (lead ruling 12:15Z): pin shadow 25 so a Cloud Run deploy
</file context>
…l it cohorts per replica Luna r1 P2 on #24639: the lever cohorts on the fixed namespace key, whose bucket is 18, so 5% is off on every replica and gives no canary. Dropped from this config change; a follow-up keys it on the serving replica. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ng replica (#24640) ## What `lifecycle_record_pending_head` (from #24624) now cohorts per serving replica: `HOSTNAME`, or `K_REVISION:INSTANCE_ID`, the same identity as `fsr_read_cache.serving_config_key`. It falls back to the namespace. The logic is inlined so the module's import closure doesn't grow. The lever stays off; no config change here. ## Why Luna r1 P2 on #24639: the lever keyed on the fixed namespace `batch_pipeline_prod` (bucket 18), so any percentage switched the whole fleet together, and 5% was off everywhere with no canary. ## Verification - `pytest tests/unit/test_lifecycle_alarm_metrics.py tests/unit/test_firestore_read_levers.py`: pass. A new test shows a 50% lever splits 40 synthetic replica hostnames into both cohorts and falls back to the namespace without replica env. ## Product invariants affected None (`scripts/pr-preflight --suggest`). 🤖 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/24640?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/24640?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F24640&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. -->
…ist_index_window -> 100; record_pending_head 5% (#24648) ## What Config only. Ordinary read levers from 5% to 100% after their soak, plus one new 5% canary: | Key | Change | Serving at the lower step since | |---|---|---| | `OMI_EXTERNAL_LIST_POLLING_CACHE_PERCENT` (Cloud Run backend) | 5 -> 100 | 2026-11-04 20:52Z (#24623) | | `action_items_ttl120` | 5 -> 100 | 22:13Z (#24639) | | `memory_list_index_window` | 25 -> 100 | 22:13Z (#24639; 48h clean at 25 earlier, #23536) | | `lifecycle_record_pending_head` | 0 -> 5 | new canary; per-replica cohort since #24640 | ## Why These follow David's 2026-11-04 soak policy for ordinary read levers: 1-2h at 5% with the 5xx/latency guards, then 100% the same day. Guard evidence comes from the firestore-reads 23:00Z tick, window 22Z. The `backend` service, where these levers act, had 725 5xx out of 1.24M requests (0.06%), against 425 out of 700k (0.06%) the previous week, so it's clean. The tick's overall FAIL is the known `backend-sync` false positive: `measure.py`'s `sync_local_files` exclusion count got HTTP 429 from Logging, so the lead-ruled `/v2/sync-local-files` 503 wave went unsubtracted. That disposal is recorded in `data/run-2026-11-04-infracost/guard-5xx-attrib-2026-11-04T22Z.md` in omi-workspace. `backend-integration` 5xx since 22:00Z are MCP SSE/list timeouts and enrichment 500s; they predate the 22:13Z serve and sit on paths these levers don't touch. ## Rollout Next Cloud Run train, plus the listen/pusher legs for the shared literal. Rollback: previous values. ## Verification `pytest tests/unit/test_render_backend_runtime_env.py tests/unit/test_verify_pusher_config_references.py tests/unit/test_backend_runtime_env_validator.py tests/unit/test_firestore_read_levers.py`: 294 passed. Local push gate ran with `BACKEND_UNIT_FILE_BUDGET_SECONDS=900`; CI keeps its own 300s. ## Product invariants affected - INV-MEM-4 (path match on `backend/deploy/runtime_env.yaml` only; no memory promotion behavior changes) 🤖 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/24648?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/24648?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F24648&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. -->
## Summary Lets the replay harness run with a service's **deployed runtime config**, so fixes that ship as config can be replayed directly. The replay environment clears every env var except `PATH`, `TMPDIR` and `SYSTEMROOT`, for hermeticity, so deploy config never reached product code. #24639 shipped `FSR_SUBSCRIPTION_TTL_SECONDS=55` as runtime config, yet replaying main still ran the code default (60s) and reported 37 privacy mismatches. - `--runtime-env <service>[:<env>]` on `run`, and `RUNTIME_ENV=...` on `make replay-harness`, `make replay-privacy-full` and `make replay-gate`. The default env is prod. - **Rendering:** the repository's own composer for Cloud Run services, and the drift checker's Helm render path for GKE services. No merge rules are reimplemented, and rendering runs without ambient credentials. - **What gets applied:** only plain, allowlisted keys (FSR_*, Firestore read levers, `*_PERCENT`, `*_TTL_SECONDS`, `*_ENABLED`). Secret or indirect entries are dropped. Credentials, project IDs, endpoints and emulator settings stay as the hermetic environment sets them, and a conflicting value is refused. - **Gate:** each side renders from its own archived tree, so a config-only change classifies correctly. - **Reports** record the service, the env, the names of applied keys and a count of dropped entries, never other values. ## Result Full privacy replay of main with `RUNTIME_ENV=backend` and no TTL override: 1,400 transitions, **1,049 verified, 0 mismatches**, 0 errors, 5s margin. With code defaults, the same replay reproduces the +60s mismatches. This covers the checked-in config at the tested source, not the live traffic-serving revision. ## Product invariants affected none (test tooling only; no product code, no `.github` changes) ## Verification - 201 unit tests under the 1.00s CPU guard; 4 emulator integration tests, including a config-only gate classified `fixed`; `make preflight` 36 checks. - Luna review: CHANGES on hygiene only. A run receipt was in branch history and the README linked to it; the branch was squashed so no commit contains it. No runtime security or fidelity findings. ## Rollback Revert the PR. Failure-Class: none 🤖 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/24654?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/24654?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F24654&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. -->
…ng replica Luna r1 P2 on BasedHardware#24639: the lever keyed on the fixed namespace, so any percentage was all-or-nothing for the fleet (bucket 18: 5% = off everywhere). It now keys on the serving replica (HOSTNAME, or K_REVISION:INSTANCE_ID like fsr_read_cache.serving_config_key; inlined to keep the import closure unchanged), falling back to the namespace. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…5 -> 100, memory_list_index_window 25 -> 100, lifecycle_record_pending_head 0 -> 5 Ordinary read levers under David's 2026-11-04 policy (1-2h at 5% with guards, then 100% the same day): the polling cache has been at 5% since 20:52Z (BasedHardware#24623) and action_items_ttl120 / memory_list_index_window at 5/25 since 22:13Z (BasedHardware#24639). lifecycle_record_pending_head starts its 5% canary now that it cohorts per replica (BasedHardware#24640). Rollback: previous values. Co-Authored-By: Claude Opus 5.5 <[email protected]>
What
Config only, one batched lever change:
FSR_SUBSCRIPTION_TTL_SECONDSEX 60subscription/BYOK entry is still served at exactly +60.000s: 37 mismatches at 0s margin. 55s gives 0 with 5s margin.action_items_ttl120memory_list_index_windowbackend/docs/runbooks/external-list-reads.mdLuna r1 removed
lifecycle_record_pending_headfrom this change: it cohorts on a single namespace key, so 5% would be off on every replica. A follow-up keys it per replica.This also satisfies lead2's enforce requirement for #24622 (
1104-b059ba): the subscription TTL becomes 55s. The new privacy caches already use a strict< 60.000sbound.Rollout
David's 2026-11-04 policy for ordinary read levers: 5% for 1-2h with the firestore-reads 5xx/latency guards, then 100% the same day in a follow-up. Rollback: set any key back to its previous value.
Verification
pytest tests/unit/test_render_backend_runtime_env.py tests/unit/test_verify_pusher_config_references.py tests/unit/test_firestore_read_levers.py tests/unit/test_backend_runtime_env_validator.py: 294 passed.pytest tests/unit/test_fsr_s4_caches.py: passes (TTL ceiling 60 unchanged; 55 is within it).BACKEND_UNIT_FILE_BUDGET_SECONDS=900(host load ~50); CI keeps its own 300s budget.Product invariants affected
backend/deploy/runtime_env.yamlonly; no memory promotion behavior changes)🤖 Generated with Claude Code