Repository navigation
fix(integrations): support Antigravity's new gateway config path - #9219
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
✅ Deterministic PR hygiene checks passed. |
✅ READY
Review readiness checklist
✅ 4/4 boxes ticked. This pull request is already Ready for Review. Hygiene✅ Deterministic PR hygiene checks passed. |
Sync upstream dev at 740109d without rewriting the existing PR branch. Verified on the merged tree with Bun 1.4.4: 176 focused tests passed, typecheck passed, and git diff --check passed.
|
Confirmed this exact issue live on macOS arm64 (
Looking forward to seeing this merged — it directly fixes |
Summary
Antigravity 2.30 and later reads its gateway from
~/.gemini/config/config.json. OpenCodex currently writes only~/.antigravity/settings.json, so an upgraded Antigravity can show its native models even when OpenCodex reports a connection.The version boundary and per-version file behavior are documented in Magpie's Antigravity implementation. The installed Antigravity 2.36.0 application bundle on macOS identifies the modern config path.
Verification
After syncing with upstream
devSynced with
devat740109d. On the resulting tree at4d66b25, using Bun 1.4.4 on Linux:bun test --isolate tests/clients/gateway-clients.test.ts tests/clients/gateway-client-restore.test.ts tests/clients/gateway-client-safety.test.ts tests/server/gateway-client-routes.test.ts tests/cli/gateway-client-command.test.ts tests/cli/uninstall.test.ts: 176 passed, 0 failed.bun run typecheckandgit diff --check upstream/dev HEADpassed.Before syncing
bun test --isolate tests/clients/gateway-clients.test.ts tests/clients/gateway-client-restore.test.ts tests/clients/gateway-client-safety.test.ts— 76 passed. After adding the journal-retirement retry regression,bun test --isolate tests/clients/gateway-client-restore.test.ts— 21 passed.bun test --isolate tests/server/gateway-client-routes.test.ts tests/cli/gateway-client-command.test.ts tests/cli/uninstall.test.ts— 99 passed.bun test --isolate tests/ci-workflows/file-size-ratchet.test.ts tests/ci-workflows/structure-ssot.test.ts tests/test-layout.test.ts tests/test-layout-tooling.test.ts— 89 passed.bun run typecheck,bun run privacy:scan,bun run structure:checkandgit diff --checkpassed.gui/, the two gateway client test files passed (7 tests),bun run lint:i18npassed andbun run buildpassed. Indocs-site/,bun run buildpassed (820 pages).agy 1.5.20fetched/v1/modelsand completed a streamed/v1/chat/completionsrequest against an isolated loopback fixture. The same proof passed after deleting the legacy settings file and retaining the connector-generated modern config. It used a fake model and placeholder key.bun run test:changedwith loopback permitted: 14,345 passed, 80 skipped and 3 failed across 603 files. Both provider-management failures returned HTTP 400 and reproduced unchanged on upstreamdevat5c350d013261e84fd1b2d965c5b08976a8b7da24. Theocx-childlifecycle test also reproduced there because this machine has neither Cargo nor a prebuilt child binary. The initial sandboxed run could not bind local ports and timed out at 900 seconds.bun test --isolate --timeout 30000 tests/server/management-provider-validation.test.ts tests/providers/kimi-responses-sibling-routes.test.ts --test-name-pattern 'provider POST overwrite preserves an explicit annotateEmptyToolOutputs: false|the sibling row reads the Kimi login and roster'andbun test --isolate tests/clients/link-ocx-child-e2e.test.tson that upstream commit.ocx-childprerequisite. Focused regressions and the 603-file changed run are recorded above. Broader coverage is left to CI, whose fork workflows currently await maintainer approval. The desktop app GUI itself has not been exercised against a live provider.Preview uses the real gateway-client component with fixture data.
Checklist
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
Required local validation passed; commands, results, and any full-suite exception are documented.
I pushed my PR to a recent dev commit (at most 10 behind; a maintainer may still ask for the exact tip before merge).
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.
Prepared with Codex.
Summary by CodeRabbit