Repository navigation
config(sync): turn the future-capture clamp on in prod (SCA-3501) - #26025
Merged
Merged
Conversation
One key on every prod reader and admitter (listen + 5 Cloud Run services); dev stays off. Rollback: 'false' on the same lines. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…cope (panel F2/F3/F5/F6) 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.
What
Turns
SYNC_FUTURE_CAPTURE_CLAMP_ENABLEDon in prod: one key, every surface that declares it. Dev stays off.WAL recordings dated more than 24 h ahead are then recovered (the capture time is clamped) instead of refused with
invalid_capture_time.Rendered diff: one key per surface
prod_omi_backend_listen_values.yaml)Changes:
backend/deploy/runtime_env.yaml, regenerated withcompose_runtime_env.py: 6 prod lines, value only, category stillrollout.backend/docs/feature-flag-registry.md, regenerated.Also in this PR, after panel review:
test_flag_budget.pyon every branch from 11-23;No other key changes.
Why now
David's 2026-11-21 decision (Shipping, survey item 17): turn it on for all users in one change, once every reader and admitter serves clamp code. That gate was verified on SCA-3501 at 06:11–06:14Z:
a1a8b2d,d9be505,b45a0c9andfb6048c.96f0631, and the batch workers run clamp code.backend-projection-pump-e13f6a6-44936391941-1takes 100% of traffic with no tags, imagesha256:8e3445476bdac812…, sourcee13f6a68b34f. Read on ro-prod at 06:35Z.fa4a99af) is an ancestor of all five Cloud Run sources (a1a8b2d,d9be505,b45a0c9,fb6048c,e13f6a6), checked withgit merge-base --is-ancestor.The go-ahead is on SCA-1819 and expires 2026-11-23T00:00Z.
Kill switch and rollback
Set
'false'on the same lines (overlay and listen chart) in one config train. Recordings already admitted are kept after rollback;test_sync_receipt_clock_anchorcovers that.Readback (SCA-3501)
invalid_capture_timerefusals per hour before and after, target about 0, and no new sync 5xx. A 24 h guard is run by Release.Verification
pytest tests/unit/test_backend_runtime_env_validator.py tests/unit/test_flag_budget.py: 327 passed.scripts/check_feature_flag_registry.py: OK.Runtime-manifest change: INV-MEM-4 (the manifest is the source of serving env; overlay and chart both carry the value).
🤖 Generated with Claude Code