Bug Report: v2.28.x routes all requests to daily-cloudcode-pa.googleapis.com staging endpoint — persistent 503 capacity failures with gemini-3.8-flash-high

Category: Antigravity IDE / Language Server / API Connectivity
Version: Antigravity 2.28.0 → 2.28.2
OS: Windows 11


Summary

Starting with version 2.28.0 (released Oct 28, 2026), the Antigravity Language Server is hardcoded to target the internal staging endpoint daily-cloudcode-pa.googleapis.com instead of the production endpoint cloudcode-pa.googleapis.com used in all prior versions. This causes near-constant 503 UNAVAILABLE errors when using gemini-3.8-flash-high, with stream idle timeouts of up to 5 minutes per request.


Root Cause (confirmed from app.asar)

In app.asar, the startLanguageServer() function passes the following hardcoded argument:

javascript

‘–cloud_code_endpoint’,

‘https://daily-cloudcode-pa.googleapis.com’, // ← staging, NOT production

Previous versions (≤ 2.27.x) used:

--cloud_code_endpoint https://cloudcode-pa.googleapis.com

This single change broke production stability for all users on 2.28.x.


Observed Errors (from language_server.log)

Run: attempt 1 failed (UNAVAILABLE (code 503): No capacity available for model gemini-3.8-flash-high on the server), retrying in 4s

Run: attempt 2 failed (UNAVAILABLE (code 503): No capacity available for model gemini-3.8-flash-high on the server), retrying in 7.4s

Run: attempt 3 failed (UNAVAILABLE (code 503): No capacity available for model gemini-3.8-flash-high on the server), retrying in 14.8s

Run: attempt 4 failed (UNAVAILABLE (code 503): No capacity available for model gemini-3.8-flash-high on the server), retrying in 31.3s

Run: attempt 3 failed (request failed: stream idle timeout (5m0s): context deadline exceeded), retrying in 9.7s

These errors repeat continuously throughout the session. The Language Server crashes and restarts multiple times per hour, killing all active subagents and background tasks.


Reproduction Steps

  1. Install Antigravity 2.28.0 or 2.28.2 on Windows.
  2. Set model to gemini-3.8-flash-high (Gemini 3.8 Flash High in the selector).
  3. Open language_server.log at %APPDATA%\Antigravity\logs\language_server.log.
  4. Observe back-to-back 503 No capacity available errors with exponential backoff.
  5. The IDE becomes unresponsive for 5–30+ minutes during each failure cycle.

Confirm endpoint in running process:

powershell

Get-CimInstance Win32_Process -Filter “Name=‘language_server.exe’” | Select-Object CommandLine

Output clearly shows --cloud_code_endpoint ``https://daily-cloudcode-pa.googleapis.com.


Environment

Parameter Value
Antigravity version 2.28.2
Prior working version 2.27.x (endpoint: cloudcode-pa.googleapis.com)
Broken endpoint daily-cloudcode-pa.googleapis.com
Model gemini-3.8-flash-high
Error code UNAVAILABLE (code 503)
Timeout stream idle timeout (5m0s)

Expected Behavior

Language Server should target https://cloudcode-pa.googleapis.com (production), as it did in all versions prior to 2.28.0.


Workaround

Switching the model to a non-High tier (standard Flash) reduces — but does not eliminate — the 503 rate on the staging cluster. A proper fix requires reverting the --cloud_code_endpoint argument to the production URL in app.asar, or exposing it as a configurable setting.


Please revert daily-cloudcode-pa → cloudcode-pa in startLanguageServer() ASAP.

Hi @ahotebana,

Welcome to the Forum,

Thank you for the detailed report and log excerpts from v2.28.2.

  • 1. daily-cloudcode-pa.googleapis.com is an official serving endpoint: We want to clarify that daily-cloudcode-pa.googleapis.com is an official Antigravity backend endpoint used by current Desktop and CLI releases, rather than an accidental staging build. Please do not modify app.asar or language_server.exe, as altering bundled application files can break client updates or trigger automated account security/ToS blocks.
  • 2. Update from v2.28.2 to v2.31.0:
    • Please update to the latest Antigravity App v2.31.0 (Changelog), which fixed an issue where requests failed when a thinking model took more than a minute to start responding, and improved retry handling.
    • When gemini-3.8-flash-high experiences temporary 503 No capacity available spikes during peak demand, switching thinking effort to Medium or Low in the model selector (Models documentation) routes your request without the High-thinking queue delay.

Amazing. Woah. It thought for almost 2 minutes. Are you kidding?