Cypress crashes in the macOS sandbox
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- cypress, electron, javascript, macos, node.js
调研方向
Start by reproducing the crash with ./node_modules/.bin/cypress run --component inside and outside the Copilot CLI macOS sandbox, then inspect the sandbox log and native crash report. The report points to IOKit, with iokit-open-user-client RootDomainUserClient denied just before the crash. Done means component tests run in the sandbox as they do outside it; the issue does not identify the sandbox code or tests to change.
由索引模型根据 Issue 内容生成。
描述
Describe the bug
Cypress exits with SIGSEGV when component tests run inside the Copilot CLI macOS sandbox. The same command succeeds outside the sandbox. Allowing read/write access to Cypress’s cache directory does not prevent the crash.
Affected version
GitHub Copilot CLI 1.0.116
Steps to reproduce the behavior
- Install Cypress 16.2.1 in a project and confirm it runs outside the sandbox.
- Enable Copilot CLI command sandboxing and allow read/write access to $HOME/Library/Caches/Cypress/.
- Run
./node_modules/.bin/cypress run --component
Expected behavior
The command runs component tests inside the sandbox, as it does outside the sandbox. Instead, it exits immediately without running tests.
Additional context
- macOS 27.2.1 (26B131), Apple Silicon (ARM64)
- Node.js 24.16.0; npm 11.13.0.
- Cypress 16.2.1; bundled Electron 41.7.0 and Node.js 24.15.0.
- The sandbox log records iokit-open-user-client RootDomainUserClient being denied immediately before the crash. The native crash report’s top frame is IONotificationPortGetRunLoopSource in IOKit
- 主要语言
- Python
- 星标
- 11.5k
- 派生
- 2k
- 平均合并
- 6 小时 34 分钟
- 30 天内合并 PR
- 3
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/copilot-cli 的其他 Issue
-
area:plugins
难度 2/5 1-3 小时 新手友好度 75/100
github/copilot-cli#5567 ·
-
难度 1/5 1-3 小时 新手友好度 78/100
github/copilot-cli#5489 ·
-
Built-in functions.view returns no content for large files despite documenting automatic truncation未关闭area:tools
难度 2/5 1-3 小时 新手友好度 72/100
github/copilot-cli#5476 ·
-
triage
难度 1/5 1 小时以内 新手友好度 74/100
github/copilot-cli#5377 ·
-
area:platform-windows area:tools
难度 1/5 1 小时以内 新手友好度 74/100
github/copilot-cli#5340 ·
查看 github/copilot-cli 的全部 Issue
相似的 Issue
-
fidelity
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
backlog
难度 2/5 1-3 小时 新手友好度 72/100
sagemathinc/sagebrush#3434 ·
维护者通常 1 天内回复
-
marketing
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
documentation good first issue help wanted
难度 2/5 1-3 小时 新手友好度 78/100
wuisabel-gif/MemWhale#576 ·
维护者通常 1 天内回复
-
Status: Triage Suggestion
难度 2/5 1-3 小时 新手友好度 68/100
GTNewHorizons/GT-New-Horizons-Modpack#27957 ·
维护者通常 1 天内回复