[Bug Report] Build Agent stuck in a 15-min timeout and triggers "Quota limits exceeded" on a clean chat thread

Environment & Model:

Interface: Google AI Studio (App Builder / Build Agent)

Model: Gemini 3.8 Flash

OS / Browser: Mobile Web / Custom Tab (Chrome)

Description of the Issue:

For the past two days, my project in AI Studio Build Agent has been completely unresponsive and broken.

Even after waiting a full 24-hour billing cycle without issuing a single prompt, submitting a basic text prompt on a brand-new, clean chat thread results in the following behavior:

Massive Latency: The request hangs for 15+ minutes on a simple text prompt. Previously, identical requests or spec updates took 5–10 seconds to generate a response and under 1–2 minutes to modify workspace files.

Quota Exhaustion Error: After hanging for ~15 minutes, the execution status switches to “Canceled” and throws a “Quota limits exceeded” error without completing the response or writing changes properly.

Reproducibility on Fresh Threads: Opening a completely new chat within the same App workspace does NOT resolve the issue. The first prompt in the new thread immediately hangs and burns the daily quota again.

Technical Observations:

It appears that during initial prompt processing, the background container/workspace indexer gets stuck in an infinite loop parsing the project structure (SPECIFICATION.md, App.tsx, server.ts, etc.).

The 15-minute delay is caused by the backend timing out in the queue rather than actual generation.

Once the timeout threshold is hit, the session fails and incorrectly flags the request as a quota violation.

Impact:

This issue makes the Build Agent unusable for daily Spec-Driven Development (SDD). Since my app is tied to a backend server (Firestore/API keys), creating a new app via “Remix” is not a viable workaround due to URL changes.

Please investigate the session/container state initialization for this project backend, as it seems the workspace environment itself gets stuck in a “toxic” cached state.

(Attached: Screenshot

showing the “Canceled” status, file list, and “Quota limits exceeded” error message).

Hello @Yuriy_O ,

Please try the below steps:

  • Start a new chat in your existing app in AI Studio Build mode instead of retrying in the same conversation thread (your existing application files remain intact).
  • If you have a Cloud Billing-enabled project, check the Usage section in the Build chat settings to verify that your paid Gemini API key is selected, as AI Studio uses free tier requests unless a paid API key is linked (Google AI Studio billing FAQ).
  • If you are using the free quota without a paid API key linked, please let us know if the error still shows up even after 24 hours.
  • If the issue persists after starting a new chat, please share your Applet ID and a screenshot of the Build chat settings Usage section via direct message.