Cypress crashes in the macOS sandbox

未关闭
#5,588 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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 内容生成。

描述

area:permissions
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
  1. Install Cypress 16.2.1 in a project and confirm it runs outside the sandbox.
  2. Enable Copilot CLI command sandboxing and allow read/write access to $HOME/Library/Caches/Cypress/.
  3. 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 模板
  • 阅读贡献指南

从这里开始

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

github/copilot-cli 的其他 Issue

查看 github/copilot-cli 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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