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

未關閉
#577 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
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. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

getsentry/MobileBuildMCP 的其他 Issue

查看 getsentry/MobileBuildMCP 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。