Repository navigation
config(conversations-v3): re-enable v3 in prod (kill switch on) after admission gate and commit hardening - #25667
Merged
Merged
Conversation
… admission gate and commit hardening Failure-Class: none Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
… not wait for the sweeper Failure-Class: none 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.
Why
David turned the conversations v3 kill switch on at 07:03Z on 2026-11-18, and #25665 recorded it in the deploy source. It had two causes:
betaadmitted public App Store builds.conversations-v3queue fell behind onsource_changedcommit conflicts.Both causes now have fixes on main:
GET /v1/conversations/live, so only TestFlight v3 builds are admitted.David authorized the re-enable for TestFlight without a further check-in.
What
prod.overlay.yaml:conversations_v3: 'off'becomes'on'. The key stays rendered on every writer: 4 Cloud Run services, 4 jobs, and the GKE configmap that listen and pusher read. The next incident is then a one-word flip, and the drift gate seesoff -> onrather than a key disappearing.runtime_env.yamlregenerated.SYNC_TASKS_PROJECTandSYNC_TASKS_LOCATION(prod overlay and the pusher chart), split out of SCA-2918: Stage conversations v3 for all and expose GMP metrics (hold for beta gates) #25659. Without them, every v3 enqueue from pusher raised RuntimeError and the owner waited for the 5-minute sweeper: rows sat pending for 10+ minutes before a summary, about 390 times an hour atbeta. pusher-runtime already holdscloudtasks.enqueuerand actAs on the invoker, so no IAM change is needed. Prod only: dev's data plane is prod Firestore.onoroff, reaches every writer.Stage stays
beta. With #25658 that means TestFlight v3 builds only. Moving toallis #25659's ramp, not this PR.Rollback
Set the overlay back to
'off'and train. For an emergency, do it live:gcloud run services update --update-env-vars CONVERSATIONS_V3=off, thenupdate-trafficto the new revisions, then the configmap patch and a rollout restart of listen and pusher. Fold the live change back here afterwards.Metric that must stay clean
conversations-v3queue depth trends down.Owner: v3-rollout session.
Product invariants affected
runtime_env.yamlchanges theCONVERSATIONS_V3value only. The set of keys and their sources is unchanged.UI-Evidence: none -- deploy config only
Failure-Class: none
🤖 Generated with Claude Code