Cypress crashes in the macOS sandbox

Offen
#5,588 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
cypress, electron, javascript, macos, node.js

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
Python
Sterne
11.5k
Forks
2k
Ø Merge
6 Std. 34 Min.
Gemergte PRs (30 T.)
3

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus github/copilot-cli

Alle Issues in github/copilot-cli

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.