Repository navigation
refactor: retire Gemini CLI account preview - #3062
Conversation
Remove the non-executable gemini-cli provider from Core metadata and Desktop OAuth surfaces. Retire legacy persisted entries at the connection-catalog boundary without blocking supported connections, while preserving the ordinary Google API-key provider. Generated-by: Codex
|
Warning Review limit reached
Next review available in: 13 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (41)
Comment |
Generated-by: Codex
Generated-by: Codex
Summary
gemini-cliprovider from Core, generated metadata, Desktop settings, preload, and OAuth IPCgoogleGemini API-key providergemini-clientries from the active connection catalog and clear a retired default target; the next catalog mutation writes the maintained setFixes #3054
Verification
node --test packages/storage/dist/__tests__/runtime-policy-stores.test.js— 41 passednpm run typecheck --workspace=@maka/corenpm run typecheck --workspace=@maka/runtimenpm run typecheck --workspace=@maka/runtime-hostnpm run typecheck --workspace=@maka/desktopgit diff --checkThe create-boundary test failed before removal because
gemini-cliwas still registered. The duplicate-identity migration test then failed before the follow-up fix because retired records were filtered before uniqueness validation.Migration
Older
connection-catalog.jsonfiles may contain agemini-clientry. Reads validate its persisted id and slug, preserve catalog-wide identity uniqueness, omit the retired entry from the active snapshot, and clear the default target only when it referenced the retired connection. The raw file remains recoverable until the next catalog mutation writes the canonical supported set.Checklist
Does this PR entail a change in behavior?
AI assistance
Codex implemented the change, added the focused tests, and ran the checks listed above. Three independent AI reviewers performed adversarial deletion, migration, and holistic architecture reviews; Codex reproduced and fixed the concrete identity-collision finding and removed the now-unneeded preview contract. The human contributor approved the retirement decision and will review the final diff and commit messages before merge.