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

Offen
#577 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
42/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
ios, macos, swift, typescript
Bereich
devtools

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
TypeScript
Sterne
6.6k
Forks
329
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

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

Alle Issues in getsentry/MobileBuildMCP

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

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