github / github/copilot-cli

Copilot CLI Reports 'Sandboxing is enabled but is not supported on this host' for latest Windows 25H2 build

未关闭
#4,652 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

triage
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

Describe the bug

Dear Copilot CLI Dev Team,

when I run copilot cli with the sandbox flag

copilot --experimental --sandbox

I receive a warning

Sandboxing is enabled but is not supported on this host, so shell commands and sandboxed services will fail. Update Windows — supported versions at https://aka.ms/ghcp-sandbox-os-support — or turn sandboxing off with /sandbox disable, or set sandbox.enabled to false in settings.json. See https://docs.github.com/en/copilot/concepts/about-cloud-and-local-sandboxes
Windows Version: 25H2 (Build 26200.9106)

The latest Windows updates are installed including the latest update https://support.microsoft.com/de-de/servicing/os/hotpatch/windows-11/2026/kb5123607-windows-11-24h2-25h2-standalone-cbs-hotpatch according to my windows update history

The sandbox was previously functional

Affected version

v1.0.81

Steps to reproduce the behavior
  1. Install latest Windows Build
  2. Run copilot --experimental --sandbox
Expected behavior

Sandbox should be functional and no warning message should appear

Additional context

No response

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先在 Windows 25H2 build 26200.9106 和 v1.0.81 上复现 copilot --experimental --sandbox,然后将主机与链接的 sandbox OS 支持文档中列出的受支持版本进行比较。完成标准是:报告的主机被识别为受支持,并且启用 sandboxing 后警告不再出现。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli, operating-systems
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。