Skip to content

fix: harden iOS simulator recording cleanup#575

Merged
thymikee merged 1 commit into
mainfrom
codex/ios-recording-cleanup-overlays
May 21, 2026
Merged

fix: harden iOS simulator recording cleanup#575
thymikee merged 1 commit into
mainfrom
codex/ios-recording-cleanup-overlays

Conversation

@thymikee
Copy link
Copy Markdown
Member

Summary

Fix iOS simulator recording resilience and cleanup behavior:

  • Overlay-enabled simulator recordings no longer depend on a stable runner session identity, so runner restarts during gestures do not invalidate the raw recording.
  • record stop now returns the finalized raw video with an overlay unavailable warning when touch overlay telemetry is unusable.
  • simctl recordVideo cleanup now prefers the session-owned recorder PID and child PIDs before falling back to path-based matching.

Closes #569
Closes #574

Validation

  • pnpm exec vitest run src/daemon/__tests__/request-recording-health.test.ts src/daemon/__tests__/request-router-recording-health.test.ts src/daemon/handlers/__tests__/record-trace.test.ts src/daemon/__tests__/recording-provider.test.ts
  • pnpm exec vitest run src/daemon/__tests__/request-execution-scope.test.ts
  • pnpm check:quick
  • pnpm test:smoke passed with 2 loopback-listener smoke tests skipped by the environment.

Known gap: pnpm check:unit still fails on unrelated environment/tooling-sensitive tests in this worktree: MP4 fallback validation, two iOS status bar mock tests, and one Android bundletool mock test. The initial sandboxed run also hit loopback listen EPERM failures.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 21, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callstackincubator.github.io/agent-device/pr-preview/pr-575/

Built to branch gh-pages at 2026-05-21 12:04 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee thymikee force-pushed the codex/ios-recording-cleanup-overlays branch 4 times, most recently from 663fb54 to 638c61e Compare May 21, 2026 12:04
@thymikee thymikee force-pushed the codex/ios-recording-cleanup-overlays branch from 638c61e to 09d2026 Compare May 21, 2026 13:33
@thymikee thymikee merged commit cd55a6a into main May 21, 2026
18 of 19 checks passed
@thymikee thymikee deleted the codex/ios-recording-cleanup-overlays branch May 21, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix iOS simulator recording overlays so gesture commands can run during recording Narrow iOS recorder cleanup to session-owned processes

1 participant