github / github/copilot-cli

Local sandbox on Windows failed to run command with error E_NOTIMPL

Offen
#3,849 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
area:permissions area:platform-windows
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### Describe the bug

Enable local sandbox on Windows, and then try to run command, it would failed as below with error `Experimental_CreateProcessInSandbox returned E_NOTIMPL.`

```bash
╭─╮╭─╮
╰─╯╰─╯ Copilot v1.0.64-0 uses AI.
█ ▘▝ █ /experimental
▔▔▔▔

● Tip: /remote
└ Toggle remote control from GitHub web and mobile

● Sandboxing has been enabled.

❯ run dir command, if failed, give me error message

⌄ Thought for 1s
│ The user wants me to run the `dir` command. On Windows PowerShell, `dir` is an alias for `Get-ChildItem`, so it should work.

● SHELL Run dir command in home directory (sandboxed) 3 lines…
dir

● The  dir  command failed with the following error:

Experimental_CreateProcessInSandbox returned E_NOTIMPL.
The following velocity keys are not enabled: 61389575, 61155944.
Enable them and retry, or use schema version '0.4.0-alpha'
to fall back to the AppContainer backend.

This is a sandbox backend error — the sandbox environment couldn't create the process due to missing velocity keys. You may want to review your sandbox configuration using the  /sandbox  command.
```

### Affected version

v1.0.64-0

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, den Fehler unter Windows bei aktiviertem lokalen Sandbox-Modus zu reproduzieren, und untersuche anschließend die Sandbox-Konfiguration mit dem erwähnten Befehl /sandbox. Das Problem ist behoben, wenn ein Befehl wie dir erfolgreich ausgeführt wird, ohne den Fehler Experimental_CreateProcessInSandbox E_NOTIMPL.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
cli, operating-systems
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.