Skip to content

firestore-reads: register conversation_list_cursor + finjob_candidate_queries lever keys (dark, config unchanged) - #23390

Merged
Git-on-my-level merged 1 commit into
mainfrom
lane/firestore-reads-wq15-registration
Oct 24, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
lane/firestore-reads-wq15-registration

Conversation

@Git-on-my-level

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

Copy link
Copy Markdown
Member

Summary

Register conversation_list_cursor and finjob_candidate_queries in backend KNOWN_LEVERS, with their origin callers documented. Registration makes both keys addressable; an absent percentage remains 0/off. No FIRESTORE_READ_LEVERS YAML literal or other config value changes.

The cursor behavior is already merged in #22450. Finalization candidate-query behavior remains separate on lane/firestore-reads-wq13-candidates at 13e1eeea47; this PR neither imports nor depends on that code. The cursor tests now use the production registry instead of patching in the key.

Product invariants affected

  • INV-FSR-LEVERS — registration only; missing keys remain off, and runtime configuration remains the sole rollout authority.
  • INV-READ-BUDGET — query behavior and read budgets are unchanged; query-shape and cursor read-count coverage run unchanged apart from removing the registry patch.
  • INV-CONTRACT-LIST-PAGE — existing pagination behavior and response contracts remain unchanged while the cursor lever is absent/off.

These are the IDs cited by #22450; #22205's registration pattern cited no invariant IDs.

Verification

  • 674 tests passed: lever registry 19, cursor contracts 31, rendered runtime-env literal contracts 93, pusher config references 28, query-shape suite 503. Each suite ran in a separate pytest process using backend/.venv through omi-heavy.
  • Command: backend/.venv/bin/python -m pytest backend/tests/unit/<suite>.py -q for each of the five suites above; rendered-literal expectations unchanged.
  • Broader Firestore index guard: all seven contract files passed.
  • make preflight: all 32 checks passed. Pre-push also validated the committed three-file diff and the real PR body file: all 32 checks passed.
  • No GCP tier used; no cloud access needed.

UI-Evidence: none — backend registry only, no UI change.

Failure-Class: none

Rollout and rollback

Both keys remain dark because their config percentages are absent. No rollout is requested here; deployment and any later configuration change belong to the rollout lead. Revert this registration commit to roll back.

View guided diff Turn on auto-fix

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 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-23T12:38:50.845273Z a8bbaa6 PR opened
ℹ️ 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.

@Git-on-my-level
Git-on-my-level merged commit 4ac65ec into main Oct 24, 2026
67 of 71 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/firestore-reads-wq15-registration branch October 24, 2026 20:14
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