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 摘要。