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

オープン
#577 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
ios, macos, swift, typescript
領域
devtools

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
6.6k
フォーク
329
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/MobileBuildMCP のほかの issue

getsentry/MobileBuildMCP の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。