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

Ouverte
#577 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
Une demi-journée
Accessibilité débutants
42/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
ios, macos, swift, typescript
Domaine
devtools

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
TypeScript
Étoiles
6.6k
Forks
329
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de getsentry/MobileBuildMCP

Toutes les issues de getsentry/MobileBuildMCP

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.