refactor: remove stale organizationMcps from MarketplaceManager and related components#196
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (10)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
…cronización - Traducir todos los títulos, secciones y descripciones al español - Agregar sección de Estado de Sincronización con tabla de branches - Actualizar commit de referencia a 7de61e6 - Actualizar fecha y hora de última sincronización
…elated components - Remove organizationMcps field from MarketplaceManager class and all CRUD methods (add, get, remove, clear) - Remove organizationMcps from MarketplaceView interface and MarketplaceViewStateManager - Remove organizationMcps from vscode-extension-host ConfigurationRequest interface - Remove organization Mcps tab rendering from MarketplaceListView - Remove organizationMcps from useStateManager hook - Remove organization Mcps lifecycle from ClineProvider (onNewPrompt) - Clean up test files: remove obsolete organization Mcps tests Closes Zoo-Code-Org#62
e2f12d4 to
e3147f8
Compare
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Summary
Remove all stale
organizationMcpsreferences from the VSCode extension codebase.Changes
This PR removes the deprecated
organizationMcpsfield and all related logic from the following files:getOrganizationMcpId()method and organization MCP ID lookup logic fromgetMcpId()andtoggleEnableMcp(). Added early return intoggleEnableMcp()if MCP is not in local registry.organizationMcpIdsandorganizationMcpServersfields fromStatetype and their initialization from organization McpMarketplaceItem responses.organizationMcpsfrom provider state initialization.organizationMcpIdsandorganizationMcpServersfrominitializeState()return.organizationMcpServersandorganizationMcpIdsfromMarketplaceViewStateinterface and their use in thegetDisplayedMarketplaceServers()memo.organizationMcpServersandorganizationMcpIdsfromLocalMarketplaceStateinterface andconvertToDisplayState()logic.Test Cleanup
getOrganizationMcpId,toggleEnableMcporganization not-installed logic,isOrganizationMcp).organizationMcpServersandorganizationMcpIdsfields.Verification
grep -r organizationMcpsreturns zero resultsnpm run compilesucceedsnpx vitest run __tests__/marketplace/passesnpx eslint/npx prettier --checkpassCloses #62