fix(connections): reflect install progress/state on skill & MCP cards#4224
fix(connections): reflect install progress/state on skill & MCP cards#4224M3gA-Mind wants to merge 1 commit into
Conversation
On Connections → Skills, clicking Install on a catalog card showed "Installing…" and a toast, but the card then reverted to "Install": whether it flipped to "Installed" depended entirely on `isCatalogEntryInstalled`, a heuristic that re-maps the refetched installed list back to the catalog entry by slugified id/path. When a registry skill's post-install id/location doesn't map back, the match misses and the only signal of success was a fleeting toast — exactly the reported "toast appears, card unchanged, no persistent state" (tinyhumansai#4150). Track the ids we install this session (`installedEntryIds`) and treat a card as installed if it's in that set OR the heuristic matches, so a successful install deterministically flips the card to "Installed" and keeps it there. The MCP servers tab already reflected state correctly (install dialog → loadInstalled → catalog filters out installed servers); this closes the gap on the skill cards. Adds a regression test: install succeeds while the refetched list does not map back, card still shows "Installed". Closes tinyhumansai#4150
|
Warning Review limit reached
More reviews will be available in 3 minutes and 29 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?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 credits. 🚦 How do rate 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 see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
Comment |
On Connections → Skills, clicking Install on a catalog card showed "Installing…" + a toast, but the card then reverted to "Install": whether it flipped to "Installed" depended entirely on
isCatalogEntryInstalled, a heuristic that re-maps the refetched installed list back to the catalog entry by slugified id/path. When a registry skill's post-install id/location doesn't map back, the match misses and the only signal of success was a fleeting toast — exactly the reported "toast appears, card unchanged, no persistent state."Fix: track the entry ids installed this session and treat a card as installed if it's in that set OR the heuristic matches, so a successful install deterministically flips the card to "Installed" and keeps it there. The MCP servers tab already reflected state correctly (install dialog sets installing → onSuccess → loadInstalled → catalog filters out installed servers); this closes the gap on the skill cards. Adds a regression test where install succeeds while the refetched list does not map back.
Closes #4150