Antigravity CLI collector: readiness probe uses removed GetUnleashData endpoint (agy 1.5.x) — "quota service did not become ready" on every poll
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 84/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- go
- Domain
- api, backend, testing-qa
Research direction
Start with internal/api/antigravity_client.go, especially probePort, probeForConnectAPI, and awaitReady. Update the readiness request to try GetUserStatus first while retaining GetUnleashData for older agy versions, then run the relevant Go tests. The issue is done when a managed agy 1.5.x service is recognized as ready and quota polling completes without the readiness timeout.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Go
- Stars
- 756
- Forks
- 65
- Avg merge
- 9d 4h
- Merged PRs (30d)
- 1
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from onllm-dev/onWatch
-
Cursor: keychain JWT not found when Cursor CLI stores it under account "cursor-user"Possibly taken @prakersh claimed this 6 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Antigravity CLI source never becomes ready: readiness probe uses GetUnleashData, which agy 1.5.x answers with 404Possibly taken @prakersh claimed this 6 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Feature request: opt-in auto quota-starter for Claude five-hour sessionsPossibly taken @prakersh claimed this 6 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
No key/token validation, silently ignores errorsPossibly taken @prakersh claimed this 6 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 56/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
All issues in onllm-dev/onWatch
Similar issues
-
feat(arithmetization): update `arithmetization` to ZkC version `v1.2.38`Possibly taken @DavePearce claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 78/100
LFDT-Lineth/lineth-monorepo#4679 ·
Maintainers usually reply within 1 day
-
macOS: MixMusic stalls as the GPU times out drawing frames, and the media keys fail to register at every startPossibly taken @fzn0x claimed this today. Openbug priority: high
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
funding: failure logs print `<nil>` error and zero channel IDPossibly taken @litbot-9000 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
lightningnetwork/lnd#11676 ·
Maintainers usually reply within 1 day
-
effort:s impact:low raised-by:reviewer risk:low
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
medici-finance/assay#8050 · 1 comment ·
Maintainers usually reply within 1 day
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day