Repository navigation
fix(integrations): stop warning about an uninstalled owned client on every model toggle - #8353
Merged
Merged
Conversation
…t refresh An ownership record outlives the client it describes: once ~/.pi was removed, every model toggle and sync re-ran the owned refresh, the writer refused with not_installed, and the dashboard showed "pi: pi is not installed" for a client the user no longer has. Implicit refresh now treats an uninstalled client like a never-connected one (null, left alone). The record is kept, so a reinstall resumes refreshing; explicit enable still refuses with not_installed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 13 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
|
✅ Deterministic PR hygiene checks passed. |
3 tasks done
lidge-jun
added a commit
that referenced
this pull request
Nov 9, 2026
* Revert "fix(google): clear replayed thought signatures on a real HTTP 400 (#8054) (#8150)" This reverts commit e76511d. * Revert "fix(relay): report an untyped SSE error envelope as response.failed (#8299)" This reverts commit 9aeffab. * Revert "fix(codex): reclaim stale shim restore lock with several dead owners (#8349)" This reverts commit 9fb295b. * Revert "docs(providers): add custom gateway verification guide (#8350)" This reverts commit d38d2e3. * Revert "fix(integrations): leave an uninstalled owned client alone on implicit refresh (#8353)" This reverts commit 0a1d59e. * Revert "fix(gui): recover Aside overwrite previews instead of failing silently (#8384)" This reverts commit 62bba48. * Revert "fix(update): keep bun's postinstall enabled on npm 11 and diagnose a skipped one (#8387)" This reverts commit ff2f5de. * Revert "fix(copilot): keep Auto negotiation off real DNS in tests and survive a mid-negotiation account switch (#8389)" This reverts commit 1176557. * Revert "fix(link): show the Child's own reason when ocx link add fails (#8390)" This reverts commit d503449. * Revert "feat(anthropic): add opt-in thinking display policy (#8392)" This reverts commit b684b46. * Revert "docs: scope the Remember proxy refusal to standalone dashboards and list its code (#8394)" This reverts commit 4995e7c. * Revert "fix(codex): probe the app-bundled CLI when no Codex CLI resolves (#8395)" This reverts commit 57cb4bb. * Revert "fix(quota): read Kimi Coding Plan usage from the regional kimi.ai origin (#8399)" This reverts commit 6ce65a5. * Revert "feat(link): sync route intent and materialize clients per device (#8274) (#8276)" This reverts commit 83c9c3e.
3 tasks done
lidge-jun
added a commit
that referenced
this pull request
Nov 9, 2026
…t refresh (#8353) (#8411) An ownership record outlives the client it describes: once ~/.pi was removed, every model toggle and sync re-ran the owned refresh, the writer refused with not_installed, and the dashboard showed "pi: pi is not installed" for a client the user no longer has. Implicit refresh now treats an uninstalled client like a never-connected one (null, left alone). The record is kept, so a reinstall resumes refreshing; explicit enable still refuses with not_installed. (cherry picked from commit 0a1d59e) Co-authored-by: Claude Opus 5.5 <[email protected]>
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
~/.piremoved), its ownership record inintegrations/records.jsonstays. Every implicit catalog refresh (model visibility toggle,/api/sync,ocx sync) re-ran the owned refresh, the writer refused withnot_installed, and the Models page showed "Some clients could not refresh their model list — pi: pi is not installed" for a client the user no longer has.refreshOwnedIntegrationnow returnsnull(left alone, same as never-connected) when the coordinated refresh refuses withnot_installed. The ownership record is kept, so reinstalling the client resumes refreshing. Explicit enable still refuses withnot_installed; Aside keeps its per-profile reporting.Verification
bun test tests/clients/sync-client-integrations.test.ts— 40 pass, 0 fail (updated MCode-removed and parameterized uninstalled-client cases to the new contract, asserting the record is retained and no directory is recreated).bun test tests/ci-workflows/file-size-ratchet.test.ts— 9 pass.bun run typecheck— no type errors.test changed).Checklist
🤖 Generated with Claude Code