Repository navigation
config(dream): re-ramp paid owners to 5% with concurrency 8 after the contention fix - #23065
Merged
Merged
Conversation
… contention fix The first 5% sweep failed on Firestore Aborted contention (fixed in #23051). Re-ramp at 5% and cap Dream workers at 8 on all four Cloud Run services. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nding Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis 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. |
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
This restarts the paid-owner Dream ramp at 5%, with Dream workers capped at 8. It changes config only, on the four Cloud Run services (backend, backend-sync, backend-sync-backfill, backend-integration):
DREAM_AGENT_PAID_PERCENTgoes'0'→'5'.DREAM_AGENT_CONCURRENCYis new and set to'8'. Without it, the derived default is 334 workers.The first 5% sweep, at 2026-10-21 13:01Z, failed about 18 passes before their first turn. The cause was Firestore
Abortedcontention when many new owners hit the shared ledger and admission transactions at once. That was fixed by bounded retries in #23051 (ffabf89), which this commit contains. The sweep's handling of stale reservation evidence was fixed in #23041 (live since 15:05Z).The lower worker cap keeps concurrent first passes small while the retries prove out in prod.
Rollback: set
DREAM_AGENT_PAID_PERCENTto'0'inprod.overlay.yaml, then re-composeruntime_env.yamland re-render the registry. Listed owners stay in, and concurrency can stay at 8.Review
GLM-5.3 (zcode) returned SHIP-WITH-NITS:
Ramp plan
FirestoreContentionExhaustedstorm;DREAM_AGENT_CONCURRENCYin the same config change, sized from the 5% hold's sweepcandidates=anddeadline=counts.Verification
scripts/check_feature_flag_registry.py: OK (only the pre-existing allowlisted warnings).backend/test.shwith a targeted list (runtime env validator, render, manifest compat, paid ramp): 146 passed.These cover config validation only. The live check comes after deploy, from the service env readback and Dream pass metrics.
Product invariants affected
Failure class
Failure-Class: none
🤖 Generated with Claude Code