Skip to content

fix: keep recording active when windows close or minimize - #39

Merged
daniellee-ux merged 1 commit into
masterfrom
codex/background-recording-window-lifecycle
Sep 25, 2026
Merged

daniellee-ux merged 1 commit into
masterfrom
codex/background-recording-window-lifecycle

Conversation

@daniellee-ux

Copy link
Copy Markdown
Owner

Closing the recording window previously stopped and finalized capture, and hidden recordings had no activity assertion to prevent App Nap. Move capture, transcription, notes, timing, and finalization into an app-owned RecordingSession, so closing or minimizing a window keeps the session running and reopening reconnects to it.

  • Hold a user-initiated activity during recording and saving, and measure elapsed time with a monotonic clock.
  • Support pause, resume, and stop from the menu bar; preserve save-before-quit behavior when no windows remain.
  • Add lifecycle regression tests, background-recording verification steps, and a local build/run entrypoint.

Validation: macOS build passed. All 58 selected regression tests passed, including 8 new recording-session tests covering minimize/close/reopen, explicit pause, startup cancellation, capture failure, duplicate stop, and saving without a view. The full suite encountered timeouts in the existing ChatGPT connection tests. Long-duration recording with physical audio devices still needs manual verification; the Mac was locked during the attempted UI check.

Review context: these changes already landed directly on master in fd3cc3d. This retrospective PR replays that exact change from its preceding commit to provide the complete review diff. The branch's file tree is identical to that landed commit and to master at PR creation.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-25T01:53:12.205467Z f548734 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@daniellee-ux
daniellee-ux merged commit 3037494 into master Sep 25, 2026
1 check passed
@daniellee-ux
daniellee-ux deleted the codex/background-recording-window-lifecycle branch September 26, 2026 06:23
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.

1 participant