Skip to content

config(conversations-v3): re-enable v3 in prod (kill switch on) after admission gate and commit hardening - #25667

Merged
Git-on-my-level merged 2 commits into
mainfrom
lane/v3-reenable
Nov 18, 2026
Merged

Git-on-my-level merged 2 commits into
mainfrom
lane/v3-reenable

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

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:

  • beta admitted public App Store builds.
  • The conversations-v3 queue fell behind on source_changed commit conflicts.

Both causes now have fixes on main:

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 sees off -> on rather than a key disappearing.
  • runtime_env.yaml regenerated.
  • Pusher gets SYNC_TASKS_PROJECT and SYNC_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 at beta. pusher-runtime already holds cloudtasks.enqueuer and actAs on the invoker, so no IAM change is needed. Prod only: dev's data plane is prod Firestore.
  • The test now asserts that a single value, on or off, reaches every writer.

Stage stays beta. With #25658 that means TestFlight v3 builds only. Moving to all is #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, then update-traffic to 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-v3 queue depth trends down.
  • Reconcile 5xx share stays under 5% per 10 minutes.
  • No public store build is admitted. Check the admitted-client log counts.

Owner: v3-rollout session.

Product invariants affected

  • INV-MEM-4: runtime_env.yaml changes the CONVERSATIONS_V3 value only. The set of keys and their sources is unchanged.

UI-Evidence: none -- deploy config only

Failure-Class: none

🤖 Generated with Claude Code

… admission gate and commit hardening

Failure-Class: none

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-18T07:47:32.738982Z
We couldn’t complete this review. Comment @codex review to try again.
8617f2d 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

… not wait for the sweeper

Failure-Class: none

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Git-on-my-level
Git-on-my-level merged commit f6fbc2d into main Nov 18, 2026
61 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/v3-reenable branch November 18, 2026 09:44
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