Skip to content

config(fsr): singleton_loops 25->100 + mcp_conversation_cards_cache, canonical_statuses_dedupe 5->100 - #23291

Merged
Git-on-my-level merged 1 commit into
mainfrom
lane/firestore-reads-memory-100
Oct 22, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
lane/firestore-reads-memory-100

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Summary

Firestore reads loop config: graduate the proven levers on the served 16-key literal.

Qualification: ramp5 clocks started 2026-10-21 ~23:20Z on train P (backend-02083-stk); verify PASS on consecutive
hourly ticks including 14Z/15Z/16Z on 2026-10-22 (no lever UNSAFE/FALSIFIED on its pinned absolute grade).
singleton_loops rides the #22142 lease rework: lease_1h shows all 6 loops acquiring (acquired 8-58/h each) with
zero max_hold_exceeded across 10-21/10-22 ticks.

Rebased on main 8cd2c27 (supersedes the stale head at 8a3e745 whose Backend Unit shard 2/6 failure
test_sync_silent_failure.py::test_app_keeps_wals_retryable_on_failed_reconcile was main's red, fixed by the
13:58Z dream revert 9b9dcd3). Literal regenerated with set_levers.py (REPLACE mode, complete 16-key object);
contract tests 121 green.

Product invariants affected

  • INV-FSR-LEVERS: FIRESTORE_READ_LEVERS literal identical across _base.yaml, runtime_env.yaml, listen/pusher dev+prod values (contract tests pin consistency)
  • INV-FSR-SINGLETON: singleton_loops at 100 only while lease gate shows acquisitions and no max_hold breaches; flag-off config PR is the rollback
  • INV-MEM-4: config-only change to runtime_env rendering (levers cache percentages); no canonical-memory intake/promotion route is added or altered

Test plan

  • backend/tests/unit/test_render_backend_runtime_env.py + test_verify_pusher_config_references.py (121 passed)
  • verify.py hourly ticks 14Z-16Z 2026-10-22 PASS (pinned absolute grades, FSR_SMOOTH_HOURS=12)

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T17:04:05.521613Z cf63b05 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

…canonical_statuses_dedupe 5->100

Firestore reads loop graduates (ramp5 clocks from 2026-10-21 ~23:20Z on backend-02083-stk; verify PASS on consecutive hourly ticks incl 14Z/15Z/16Z 2026-10-22): mcp_conversation_cards_cache 5->100, canonical_statuses_dedupe 5->100; singleton_loops 25->100 (lease rework #22142 live; all 6 loops acquiring, no max_hold fires 10-21..10-22). memory_list_index_window stays 25 (ramped 5->25 by #23310 on main for mobile Memories timeouts; graduation deferred). Literal via set_levers.py (REPLACE mode, complete 16-key object) on origin/main 8cd2c27; contract tests 121 green (test_render_backend_runtime_env + test_verify_pusher_config_references).
@Git-on-my-level
Git-on-my-level force-pushed the lane/firestore-reads-memory-100 branch from 1b8901f to cf63b05 Compare October 22, 2026 16:58
@Git-on-my-level Git-on-my-level changed the title config(fsr): graduate memory_list_index_window, mcp_conversation_cards_cache, canonical_statuses_dedupe 5->100 config(fsr): singleton_loops 25->100 + mcp_conversation_cards_cache, canonical_statuses_dedupe 5->100 Oct 22, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cf63b05ffc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

SYNC_POLL_BACKOFF_ENABLED: {value: 'false', category: rollout}
FIRESTORE_READ_LEVERS:
value: '{"action_items_page":100,"backfill_task_reads":100,"candidates_page":100,"canonical_statuses_dedupe":5,"deletion_marker_cache":100,"historical_scan_memo":100,"ledger_purge_coalesce":100,"mcp_conversation_cards_cache":5,"memory_list_index_window":25,"people_scan_dedupe":0,"queue_age_sample_budget":0,"request_read_dedupe":100,"serving_config_cache":100,"singleton_loops":25,"subscription_cache":100,"usage_month_cache":100}'
value: '{"action_items_page":100,"backfill_task_reads":100,"candidates_page":100,"canonical_statuses_dedupe":100,"deletion_marker_cache":100,"historical_scan_memo":100,"ledger_purge_coalesce":100,"mcp_conversation_cards_cache":100,"memory_list_index_window":25,"people_scan_dedupe":0,"queue_age_sample_budget":0,"request_read_dedupe":100,"serving_config_cache":100,"singleton_loops":100,"subscription_cache":100,"usage_month_cache":100}'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore the intended memory and singleton percentages

When this configuration is deployed, memory_list_index_window remains at 25 while singleton_loops is raised from 25 to 100 across every rendered host. Consequently the advertised memory-list graduation never occurs, and the remaining 75% of host identities are unexpectedly moved onto the singleton-loop lease path despite the rollout evidence explicitly requiring that lever to stay at 25. Set memory_list_index_window to 100 and restore singleton_loops to 25 in the shared literal.

Useful? React with 👍 / 👎.

@Git-on-my-level
Git-on-my-level merged commit 5b44b05 into main Oct 22, 2026
62 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/firestore-reads-memory-100 branch October 22, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant