Local sandbox on Windows failed to run command with error E_NOTIMPL
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### 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_
貢獻指南
研究方向
Start by reproducing the failure on Windows with the local sandbox enabled, then inspect the sandbox configuration using the mentioned /sandbox command. The issue is resolved when a command such as dir runs successfully without the Experimental_CreateProcessInSandbox E_NOTIMPL error.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- cli, operating-systems
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100