Repository navigation
config(ops): restore backend-sync max_instances 30 -> 40 (drop margin G1) - #24329
Merged
Merged
Conversation
… G1) #24303 set the source cap to 30 for a gated apply that never happened (lead held it at 02:11Z). After #24264 removed the short deferred re-polls, sync runs long jobs at max_request_concurrencies p95 18-20 of containerConcurrency 20 on ~33 instances, so a lower cap would queue work rather than trim idle capacity. Live stays 40; this puts the source back so no config-train dispatch can apply 30 without the gates. Pins test_cloud_run_rightsizing_pins.py to (5, 40). 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Problem and change
#24303 set
backend/deploy/ops/prod.yamlcloud_run.backend-sync.max_instancesto 30 for a gated apply. The leadheld the apply at 02:11Z, and it never ran: live is still 40. Leaving 30 in source means the next config-train
dispatch, for any reason, would apply it without the gates.
This PR puts the source back to 40 and the
test_cloud_run_rightsizing_pins.pypin back to (5, 40). Live does not change.Why the cap is dropped, not delayed (measured, ro-prod Cloud Monitoring, backend-sync)
#24264 removed the short (~2.4 s) deferred re-polls, so the remaining requests are long sync jobs. In-flight per
instance rose while instances fell 40 → 33 on their own. At concurrency p95 18–20 of
containerConcurrency20, a cap of30 would queue work rather than trim idle capacity. The instance saving the cap targeted has already happened.
Validation
backend/test.shwithBACKEND_UNIT_TEST_FILE_LIST= test_cloud_run_rightsizing_pins.py, test_config_train.py,test_drift_check.py: 88 passed (4 + 52 + 32), via
bin/omi-heavy, with no GCP credentials. The bounded pre-push gate passed.Rollback: revert this PR. Applying nothing either way: config-train is
workflow_dispatchonly.🤖 Generated with Claude Code