AI Studio Republish blocked by 429 RESOURCE_EXHAUSTED although Cloud Run quotas are available

App: HEALTH Co.
App ID: 62257dac-f930-4992-b888-02a97d02b106
Google Cloud Project: gen-lang-client-05057575..
Cloud Run service: health-co
Region: us-west1

Republish from Google AI Studio fails at:
UpdateCloudRunService → HTTP 429

Response:
[8,“Resource has been exhausted (e.g. check quota).”]

Diagnostics already completed:

  • Cloud Run service is healthy and serving production normally.
  • Cloud Run quota dashboard shows 0 quotas above 90%.
  • CPU and memory quotas have substantial availability.
  • Service has 94 revisions, only the latest receives 100% traffic.
  • Other AI Studio apps on the same account publish successfully.
  • GitHub integration is working.
  • No corresponding failed UpdateService request for health-co appears in Cloud Run Audit Logs.

This suggests the RESOURCE_EXHAUSTED error occurs in the AI Studio publishing pipeline before the request reaches the Cloud Run service.

Please investigate the publishing quota/backend state associated specifically with this AI Studio App ID.

Additional information for investigation:

  • Google Cloud Project ID: `gen-lang-client-05057575..

  • Applet ID: `62257dac-f930-4992-b888-02a97d02b1..

  • Cloud Run service: health-co

  • Region: us-west1

  • Approximate failed deployment: October 15, 2026, around 14:00–15:00 BRT (UTC-3)

Two other AI Studio apps on the same account were successfully published/re-published while HEALTH Co. continued failing with:

UpdateCloudRunService → HTTP 429 RESOURCE_EXHAUSTED

Cloud Run quotas were checked and none were above 90%. The current health-co service remained healthy.

No corresponding failed UpdateService request for health-co appeared in the Cloud Run Audit Logs, suggesting the failure happens before the request reaches the Cloud Run service.

This appears isolated to this specific Applet/service.

Thank you for investigating.

Hello @Cintia_Meneghini_Lip,

Publishing to Cloud Run packages your app into a source archive with a 250 MB limit (Cloud Run source deployment limits). Because this is a per-deployment size cap, it does not reset over time, and you do not need to delete your existing app (62257dac-f93...), Cloud Run service, or GitHub connection.

To publish updates under 250 MB:

  • Back up your code (or sync to GitHub), try publishing again in Google AI Studio, and click Retry if prompted so the Build assistant can help reduce the build size.
  • Compress large media files (such as images, audio, or videos) or host them externally via URLs instead of bundling them in the project.
  • If this is a web app, remove any unused mobile build folders (such as an android/ directory or duplicated native assets) and unused dependencies in package.json.

Thanks for including such a clean diagnostic breakdown, @Cintia_Meneghini_Lip. Seeing UpdateCloudRunService fail with HTTP 429 [8, "Resource has been exhausted"] before any UpdateService entry even shows up in your Cloud Run Audit Logs is the key clue here.

Building on @Payal_Sharma2’s note about the 250 MB source archive limit, there are two specific bottlenecks inside the managed gen-lang-client-* publishing pipeline that trigger a pre-Cloud-Run 429 once a single service reaches 94 revisions like health-co has:
Cloud Build & Artifact Registry Staging Quotas (Evaluated Before Cloud Run): When you click Republish in AI Studio, the backend first packages the applet into Artifact Registry (us-west1) and triggers an internal Cloud Build staging step before calling run.googleapis.com. In the Google Cloud Console for gen-lang-client-05057575..., open IAM & Admin > Quotas & System Limits and filter by Service: Cloud Build API and Artifact Registry API in us-west1 (rather than Cloud Run CPU/Memory). Per-minute build rate limits or staging storage caps there return 429 RESOURCE_EXHAUSTED upstream of Cloud Run’s audit log.
Revision History & Container Layer Accumulation at ~94 Revisions: Even though only the latest revision serves 100% of traffic, AI Studio’s UpdateCloudRunService wrapper serializes the service’s revision metadata and container digests on each deploy. Pruning retired revisions clears that state bottleneck right away:

# List and prune old non-serving revisions in us-west1 (keeping the last 5)
gcloud run revisions list --service=health-co --region=us-west1 \
  --project=gen-lang-client-05057575... --format="value(metadata.name)" | tail -n +6 | \
  xargs -I {} gcloud run revisions delete {} --region=us-west1 --quiet
```Immediate Direct Deploy Workaround via GitHub / Cloud Shell: Since your GitHub sync is already working, you can deploy the exact same repo directly to your existing `health-co` Cloud Run service from Cloud Shell without going through AI Studio's rate-limited proxy:

```bash
gcloud run deploy health-co --source . --region=us-west1 --project=gen-lang-client-05057575...

Pruning the old retired revisions and old images in Artifact Registry > cloud-run-source-deploy usually unblocks the in-studio Republish button right away as well.