[Bug] MCP registration extensions not loaded on Linux
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- java
- Ambito
- developer-experience, tooling
Direzione di ricerca
Inizia con McpExtensionPointManager e CopilotLanguageClient.onDidChangePolicy(DidChangePolicyParams), quindi riproduci il problema su Ubuntu ed esamina l’Eclipse Error Log alla ricerca dell’avviso del policy watcher. Confronta il comportamento su Linux con Windows o macOS e determina se il callback della policy mancante si trova nel plugin Eclipse o in Copilot Language Server. Il lavoro è completato quando il server MCP contribuito si registra su Linux oppure il problema viene chiaramente inoltrato al progetto upstream appropriato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Environment
- OS: Ubuntu 24.04.4 LTS
- Eclipse Version: 2026-03 (4.39)
- Plugin Version: 0.20.0
Describe the bug
Create an Eclipse plugin with an extension registered for the "com.microsoft.copilot.eclipse.ui.mcpRegistration" extension point. The registered IMcpRegistrationProvider class is loaded and invoked as expected on both Windows and macOS but not on Linux. I've tested in several different environments with Ubuntu and have not been successful.
To Reproduce
Steps to reproduce the behavior:
- Start an Eclipse instance with a plugin registering an IMcpRegistrationProvider.
- Open the Copilot preferences to confirm no MCP server from the plugin was registered, requesting approval.
- Note the following warning in the Eclipse Error Log which looks related (I'll explain more below):
!ENTRY org.eclipse.lsp4e 2 0 2026-07-23 09:49:49.451
!MESSAGE [LS:GitHub Copilot Language Server][Warning] [default] Policy watcher not available - continuing without policy watching: Unsupported platform
Expected behavior
The MCP server contributed by the plugin should be registered as it is on Windows and macOS.
Additional context
I spent some time investigating this. The class McpExtensionPointManager checks the boolean mcpContributionPointEnabled which defaults to false. The only place where I see it possibly being set to true is from CopilotLanguageClient.onDidChangePolicy(DidChangePolicyParams) which I confirmed is never getting called. This "policy/didChange" call back from the Copilot Language Server is never happening on Linux. I suspect this may be related to the "Policy watcher not available - continuing without policy watching: Unsupported platform" in the Eclipse Error Log since they both sound policy-related.
If this is really a problem with the Copilot Language Server and not the Eclipse plugin then I'd be happy to file this bug report in the appropriate place for that.
I would also appreciate any workaround anyone could share if possible to make this work on Linux, like if I'm just missing some extra system package that's preventing this from working (or something like that).
- Lingua principale
- Java
- Stelle
- 125
- Fork
- 63
- Merge medio
- 1g 3h
- PR unite (30g)
- 5
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/copilot-for-eclipse
-
[Feature Request] Copilot CLI Quick Launcher (Just like Intellij) with WSL & Auto-Install SupportApertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 42/100
microsoft/copilot-for-eclipse#473 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/copilot-for-eclipse#472 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/copilot-for-eclipse#465 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
microsoft/copilot-for-eclipse#458 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/copilot-for-eclipse#450 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/copilot-for-eclipse
Issue simili
-
Clarify Javadoc for Logger methods taking Object... arguments with regards to Throwable detectionAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
-
[Bug] The shared instance selector's placeholder and no-match text ignore the display languageForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
apache/rocketmq-dashboard#5561 ·
I maintainer di solito rispondono entro 3 giorni
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
HMCL-dev/HMCL#6934 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
test(setup): GitHub configuration tests fail when the temp path is long enough for YAML foldingApertabug good first issue help wanted priority medium size S
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
martin-francois/symphony-trello#776 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno