Cypress crashes in the macOS sandbox

オープン
#5,588 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/copilot-cli のほかの issue

github/copilot-cli の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。