Antigravity CLI collector: readiness probe uses removed GetUnleashData endpoint (agy 1.5.x) — "quota service did not become ready" on every poll
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 84/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- go
- Ambito
- api, backend, testing-qa
Direzione di ricerca
Inizia da internal/api/antigravity_client.go, in particolare probePort, probeForConnectAPI e awaitReady. Aggiorna la richiesta di readiness per provare prima GetUserStatus, mantenendo GetUnleashData per le versioni precedenti di agy, quindi esegui i test Go pertinent. L’issue è completato quando un servizio agy 1.5.x gestito viene riconosciuto come pronto e il polling della quota termina senza il timeout di readiness.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Since agy 1.5.x (tested with 1.5.21 on Linux), the Antigravity CLI collector fails on every
poll with:
level=ERROR msg="Failed to fetch Antigravity quotas" source=cli error="antigravity cli: quota service did not become ready"
level=WARN msg="agy session unhealthy, tearing down for relaunch" component=antigravity-cli failures=2
The managed agy process is launched, listens on its ports, and serves quota data fine —
but the readiness probe never accepts it, so after the 90 s timeout the session is killed
and relaunched forever (leaving zombie agy processes as the parent never reaps them).
Cause
AntigravityClient.probePort (internal/api/antigravity_client.go, still the case on main)
probes the Connect-RPC surface via:
POST /exa.language_server_pb.LanguageServerService/GetUnleashData
body: {"wrapper_data":{}}
accept: 200 or 401
In agy 1.5.x this endpoint has been removed and now returns 404 page not found, so
probeForConnectAPI always returns nil and awaitReady times out with
ErrAgyNotReady. This is unrelated to the CSRF token fix from #140/#141 (the token is
sent correctly; --csrf_token is passed at launch).
Meanwhile the endpoint the collector actually needs still works. Verified by hand against a
managed agy launched the same way onWatch does (PTY + --csrf_token):
POST /exa.language_server_pb.LanguageServerService/GetUnleashData -> 404 (both ports, http+https)
POST /exa.language_server_pb.LanguageServerService/RetrieveUserQuotaSummary -> 200 (full quota buckets)
POST /exa.language_server_pb.LanguageServerService/GetUserStatus -> 200 (user + plan status)
Suggested fix
Probe with GetUserStatus (same Connect-RPC surface, returns 200 authed / 401 unauthed,
same accept criteria) and keep GetUnleashData as a fallback for older agy builds:
endpoints := []string{
"/exa.language_server_pb.LanguageServerService/GetUserStatus",
"/exa.language_server_pb.LanguageServerService/GetUnleashData",
}
With that change (validated locally on Linux against agy 1.5.21), the session becomes
ready in ~3 s and polls complete normally.
Environment
- onWatch v2.14.16 (bug also present on current
main), Linux amd64 - agy 1.5.21
- Lingua principale
- Go
- Stelle
- 756
- Fork
- 65
- Merge medio
- 9g 4h
- PR unite (30g)
- 1
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di onllm-dev/onWatch
-
Cursor: keychain JWT not found when Cursor CLI stores it under account "cursor-user"Forse già presa @prakersh l’ha presa 6 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Antigravity CLI source never becomes ready: readiness probe uses GetUnleashData, which agy 1.5.x answers with 404Forse già presa @prakersh l’ha presa 6 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
-
Feature request: opt-in auto quota-starter for Claude five-hour sessionsForse già presa @prakersh l’ha presa 6 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
No key/token validation, silently ignores errorsForse già presa @prakersh l’ha presa 6 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Tutte le issue di onllm-dev/onWatch
Issue simili
-
effort:s impact:low raised-by:reviewer risk:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
medici-finance/assay#8050 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
factory:subtask
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement needs-triage service/licensemanager
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
hashicorp/terraform-provider-aws#51503 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
automation backlog:smoke-tests testing
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno