Repository navigation
Conversation
|
No actionable comments were generated in the recent review.
|
There was a problem hiding this comment.
Actionable comments posted: 2

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
d7c28efd-3c7c-4892-93eb-29fd457c5940
Files selected for processing: 4-
src/main/antigravity/antigravity-acp-runtime-probe.test.tssrc/main/antigravity/antigravity-acp-runtime-probe.tssrc/main/node-runtime/managed-runtime-release-install.tssrc/main/node-runtime/managed-runtime-release.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.
-
There was a problem hiding this comment.
Actionable comments posted: 1

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
cd6234da-66cc-497d-bc82-fc3934c05df6
Files selected for processing: 4-
src/main/antigravity/antigravity-acp-runtime-probe.test.tssrc/main/antigravity/antigravity-acp-runtime-probe.tssrc/main/node-runtime/managed-runtime-installation.test.tssrc/main/node-runtime/managed-runtime-release-install.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.
-
…check The managed-runtime install message now names the observed cause after the existing headline: a timeout, an exit code with a redacted stderr excerpt, or the version the server answered as. The host agy check that shares the initialize helper is unchanged. Takes over #34167 by @Jinwoo-H (away), ported onto main after #39006.
…check (#39456) The managed-runtime install message now names the observed cause after the existing headline: a timeout, an exit code with a redacted stderr excerpt, or the version the server answered as. The host agy check that shares the initialize helper is unchanged. Takes over #34167 by @Jinwoo-H (away), ported onto main after #39006. Co-authored-by: Jinwoo-H <[email protected]>
|
Thanks @Jinwoo-H. While you were away I took this over in #39456, which is now merged (squash e7b0e40) with you as the commit author. I ported it onto current main: after #39006 and #39452 the initialize step is shared with the host |
What changes for users
When Orca downloads a chat runtime (today: Antigravity's chat server) and the runtime fails its start check, the install message now says why. The headline stays the same, and one short cause follows it:
It timed out after 60 seconds.It exited with code 1: <one-line stderr excerpt>, redacted with the existing secret and path redaction, and capped in length.It answered as version 1.2.9, expected 1.3.0.Other failures (for example, a spawn error) still show only the headline.
Why
Every failed start check showed "Antigravity couldn't start on this host, so it wasn't installed. This host may not support it." The real cause was written only to the main-process log, so reports like #33188 (Intel Mac) and #32818 (Linux) could not say what went wrong. This PR doesn't fix those issues. It surfaces the cause so they can be diagnosed.
How
managed-runtime-release.ts: adds a runtime-agnosticManagedRuntimeStartErrorthat carries what the check observed (timeout, exit, or version).antigravity-acp-runtime-probe.ts: fills that in. The exit code and stderr come from the connection's own exit event, and only when the exit was not caused by Orca closing the probe. The timeout comes from the existing request-timeout marker. In practice the 60 sinitializerequest deadline fires before the probe's 90 s deadline, so the message reports 60.managed-runtime-release-install.ts: phrases the cause after the headline. It reuses the excerpt, sanitize, and redact helpers the Codex RPC exit message already uses.The message is still a plain string in
operation.error, so older desktop, remote, and mobile clients show it unchanged.Evidence
This used an isolated dev build and profile. The pin was pointed at a local fake 1 MB archive through a temporary, uncommitted override. The real runtime was not downloaded. CDP screenshots show the chat install message.
Before (any failure):
After, a server that exits 1 with stderr (the fake stderr carries a token to show redaction):
After, a server that answers
initializewith the wrong version:After, a server that never answers: