[Bug]: Simulator recording writes a growing MP4 into the Git checkout before export

Abierto
#577 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
ios, macos, swift, typescript
Área
devtools

Línea de trabajo

Start in the simulator record-video start helper, which invokes AXe with --udid and --fps but no --output, and compare it with the stop path that copies the recording to --output-file. Reproduce by starting a recording from a checkout and checking for axe-video-*.mp4 in the working directory. Done when the start path passes an explicit tool-managed temporary path to AXe, the file never lands in the repository, and stop-time export still works.

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

Descripción

Bug description

MobileBuildMCP 2.7.1 starts simulator video capture without passing AXe an output path. AXe writes a growing axe-video-*.mp4 in the current working directory. The CLI's --output-file is applied only after stopping, when the tool copies the recording to the requested destination.

Steps to reproduce
  1. From a Git checkout with a booted simulator, run mobilebuildmcp simulator record-video --simulator-id <UDID> --start.
  2. While recording, look for a growing axe-video-*.mp4 in the checkout.
  3. Run mobilebuildmcp simulator record-video --simulator-id <UDID> --stop --output-file /tmp/capture.mp4. The destination is used only at this point.
Actual behavior and impact

In a Codex session, a 3.3 GiB recording appeared in the project root. While it was growing, automatic Git snapshots captured successive versions, leaving roughly 70 GiB of Git objects and nearly filling the volume. The Git amplification is client-dependent. The unexpected working-directory output occurs before any export.

I inspected the installed 2.7.1 implementation. The start helper invokes AXe with --udid and --fps but omits --output. The bundled AXe help confirms that the default is axe-video-.mp4 in the current directory.

Expected behavior

Write video outside the checkout from the first frame. Pass an explicit tool-managed temporary path to AXe and preserve stop-time export, or support a start-time destination with a project-external default.

Environment

MobileBuildMCP CLI 2.7.1 via Homebrew with bundled AXe, macOS 27.2.1, iOS 27.2 simulator, Codex desktop client.

Workaround: invoke AXe with an absolute --output path outside the repository.

Lenguaje dominante
TypeScript
Estrellas
6.6k
Forks
329
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 getsentry/MobileBuildMCP

Todos los issues de getsentry/MobileBuildMCP

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.