fix(mcp): Error handling when server is not enabled in MCP Apis (#8757)#8766
fix(mcp): Error handling when server is not enabled in MCP Apis (#8757)#8766preetriti1 merged 1 commit intohotfix/v5.262from
Conversation
Co-authored-by: Priti Sambandam <psamband@microsoft.com>
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:
|
| Section | Status | Recommendation |
|---|---|---|
| Title | Remove (#8757), fix capitalization, and make more descriptive. |
|
| Commit Type | ✅ | No change needed. |
| Risk Level | ✅ | No change needed (risk:medium). |
| What & Why | ✅ | Clarify hostConfig rename and exact property path. |
| Impact of Change | ✅ | Add note about hard-coded appId/location in McpServer.tsx. |
| Test Plan | ✅ | Unit tests present; consider E2E for critical flows. |
| Contributors | ✅ | No change needed. |
| Screenshots/Videos | Optional: add if UI change is significant. |
Summary:
The PR meets the repository's PR body template and includes unit tests that cover the updated error handling behavior. Labels match the selected risk level. I recommend small improvements to the PR title and brief clarifications in the What & Why and Impact sections (see recommendations above). Also confirm whether the hard-coded appId/location in McpServer.tsx is intentional (dev/test only) or should be removed/parameterized.
Please update the PR title and optionally the PR body per the suggestions, then remove the needs-pr-update label if no further changes to the PR description are necessary. Thank you for the thorough test coverage and clear description!
Last updated: Fri, 30 Jan 2026 18:18:35 GMT
|
📊 Coverage check completed. See workflow run for details. |
Commit Type
Risk Level
What & Why
Error handling in listing mcp servers make sure UX is not frozen when API throws and users can continue editing.
Styling updates based on designs.
Added logging for unexpected error and gracefully handling it in UI.
Updated the property name to enable mcp servers in hostconfig correctly which was causing issues in new app.
Impact of Change
Test Plan
Contributors
@kewear
Screenshots/Videos