Repository navigation
config(listen): pin privacy writer, packing and backfill cap to live behaviour for the listen roll - #25954
Merged
Conversation
…behaviour for the listen roll backend-listen still serves 44d0a4f (18 Nov). Main's listen values would switch on three things at the roll (SCA-3516); this pins each by effect: - BATCH_ACCOUNT_PRIVACY_WRITER_ENABLED=false: 44d0a4f has no account privacy writer, and on a current image the kill switch defaults on. A first activation on listen is a custody decision (David). - BATCH_PIPELINE_PACKING_SAMPLE_RATE=0: 44d0a4f has no packing observation; 0 disables it (sample_rate() accepts 0, bool(0.0) is off). - UNLIMITED_V2_BACKFILL_HOURS_CAP_ENABLED=false: 44d0a4f has the cap and runs it false; sync uploads go to backend-sync, where it stays on. Turning listen on is its own config change after the roll. Rotation already renders off with 180/300 bounds; those bounds are read only by rotation_seconds(), called only when rotation is enabled. Rollback: revert this commit. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis 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. |
# Conflicts: # backend/docs/feature-flag-registry.md
Correct the cap rationale (listen also admits sync backfill uploads, so it stays uncapped exactly as today), assert the privacy-writer and packing pins on the manifest and chart, keep the >=5 surface floor, fix rollback wording, update the contract doc and add a change note. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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
backend-listen still serves
backend:44d0a4f(18 Nov). On current main, the listen values would switch three things on at the next listen roll (SCA-3516). Release's installed preflight refuses all three. This PR pins each one by effect, so the roll preserves today's behaviour. Shipping ruled at 2026-11-21 13:25Z on SCA-3516 that no activation rides the listen roll.BATCH_ACCOUNT_PRIVACY_WRITER_ENABLEDdatabase/batch_account_authority.py, kill switch inconfig/policy/kill_switches.py) is not in 44d0a4f.true(kill switch default on)falsefalsekeeps the legacy writer routing that 44d0a4f has. A first activation on listen is a custody decision (David).BATCH_PIPELINE_PACKING_SAMPLE_RATEconfig/batch_pipeline_packing.pyis not in 44d0a4f.0.0010sample_rate()accepts 0, andpacking_counterfactualgates onbool(sample_rate()), so 0 means no sampling.UNLIMITED_V2_BACKFILL_HOURS_CAP_ENABLED"false"(live: false).true(#25677)false/v2/sync-local-files), so listen admission stays uncapped exactly as today; Cloud Run sync stays capped. Capping listen is the follow-up below.Rotation:
CONVERSATIONS_V3_RECORDING_ROTATIONalready rendersoff, withCONVERSATIONS_V3_ROTATION_MIN/MAX_SECONDSat 180/300.rotation_seconds()reads those two values only atrouters/listen/conversations.py:1273and:1412, and both calls sit behindrecording_rotation_enabled(). With rotation off, nothing reads them. 44d0a4f does not contain #25726.Changed: prod overlay
backend/deploy/runtime_env/prod.overlay.yaml(gke/backend-listen), the regeneratedbackend/deploy/runtime_env.yaml, the listen prod chart values, the regenerated flag registry doc, the listen contract doc line, a change note underbackend/docs/listen_pusher_pipeline/changes/, and the backfill-cap validator test. The test now carries a dated exception for prod backend-listen and asserts all three pins on both the composed manifest and the listen chart. The floor is kept at >= 5 surfaces.Follow-up after the listen roll
This is a cost-control item: listen backfill admission is uncapped today and stays so until then. Turn the backfill cap on for listen as its own config change: David's 2026-11-18 support-packet decision 13 intends it on for every prod surface. Then remove the test exception. The privacy writer on listen stays off until David decides it.
Verification
bash test.shchanged-file selection underbin/omi-heavy: passed (rc 0).tests/unit/test_backend_runtime_env_validator.py: 300 passed.Product invariants affected
Rollback
Revert this PR. The listen roll itself rolls back with
mode=rollbackto the prior Helm revision.🤖 Generated with Claude Code