Repository navigation
Conversation
The Project filter currently reaches a market panel that always saves servers globally. Carry its existing destination into the market and check installed records at that level so a global definition does not block installation into a project. Keep the documented Global destination under All. Exercise the real page-to-IPC interaction in isolated Electron, including missing projects, and run that regression in the existing Electron CI job.
vastsa
approved these changes
Oct 29, 2026
vastsa
left a comment
Owner
There was a problem hiding this comment.
Independently verified the original defect: running the new real React/Electron test with the main-branch market panel fails with project installation wrote to global. The candidate passes all 36 targeted market/capability tests, including six destination cases and missing-project guards. Shared package build and diff check pass; all six remote CI checks pass. Latest main is 00a1a0e; PR merge tree equals tested head tree 566c5c63. The change fixes destination ownership at the existing upsert boundary with minimal scope. Local fixture uses isolated Electron and mocked IPC, not real MCP execution or filesystem writes. Ready to merge.
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.
Installing an MCP server from Market while the MCP page is filtered to Project always sends
level: "global". The selected project is lost, and the new server is absent from the project list on return.Market now receives the page's existing installation target and selected project. Its installed badges check that destination, so an existing global definition does not prevent installing a project override. A missing project blocks project installation. All and Global keep their documented Global destination.
This is the focused marketplace fix requested in the closing review of #1954.
Reproduction
On
origin/mainat00a1a0ea90e952fabb67d638ac74eae3a8fe0342:Expected: the upsert carries
level: "project"and the selectedprojectPath, and the project list shows the new server. Actual: the panel sendslevel: "global"without the project owner.Validation
project installation wrote to global. It mocks only the IPC boundary and covers six ownership cases, visible installed state, and both missing-project guards.Candidate:
8b320b4eb278e256d7471081ad18629073029b0e; base:00a1a0ea90e952fabb67d638ac74eae3a8fe0342. Electron tests use an isolated profile and deterministic IPC fixtures; they do not exercise real MCP processes or Host filesystem writes. The new regression is included in the existing Electron CI job. The Settings specification and E2E scenario are updated in both documentation languages.