Raise Cloud Run request concurrency from 4 to 6#3758
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3758 +/- ##
=======================================
Coverage 80.03% 80.03%
=======================================
Files 70 70
Lines 4342 4342
Branches 809 809
=======================================
Hits 3475 3475
Misses 648 648
Partials 219 219 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
anth-volk
marked this pull request as ready for review
July 21, 2026 19:05
Cloud Run's autoscaler targets ~60% of containerConcurrency, so c4 spawns a new instance at ~2.4 sustained concurrent requests — overnight bot bursts churned 18 instance boots on 2026-07-21, each queueing requests behind the ~3-min import. c6 moves the trigger to ~3.6 while staying within the memory envelope (c8 OOM'd in Stage 2; c6 re-qualified by soak, evidence in docs/migration/history/pr4-stage2-runtime-timing.md). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
30-min 12-client cache-busted soak against no-traffic c6-qual revision: memory p99 peaked 61% (bar 70%; c8 failed at 92%), zero OOM/worker restarts, 320/320 requests 200. Gates evaluated server-side (client-side JSON lost to an operator session exit at soak end — informational only). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
anth-volk
force-pushed
the
feat/cloud-run-concurrency-6
branch
from
July 21, 2026 19:32
87ffe11 to
64b3b3a
Compare
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.
Fixes #3761
Summary
CLOUD_RUN_CONCURRENCYdefault 4 → 6 (.github/scripts/cloud_run_env.sh), invariant test updatedWEB_CONCURRENCY=2unchangedQualification
Draft until the 30-min c6 soak (12 clients, cache-busted, against a no-traffic
c6-qualrevision) passes its gates: memory p95 < 70%, zero OOM, zero 5xx. Evidence will be appended todocs/migration/history/pr4-stage2-runtime-timing.mdbefore marking ready. (Stage 2 rejected c8 after a worker OOM at 92% memory; concurrency changes require their own soak.)🤖 Generated with Claude Code