Cypress crashes in the macOS sandbox

Abierto
#5,588 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cypress, electron, javascript, macos, node.js

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
Python
Estrellas
11.5k
Forks
2k
Merge medio
6 h 34 min
PR fusionados (30 d)
3

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de github/copilot-cli

Todos los issues de github/copilot-cli

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.