Skip to content

feat: wire QA recording captureScope and includeAudio config#6967

Merged
Jasonnnz merged 1 commit into
feature/qa-video-automationfrom
swarm/qa-video-auto/task-23
Feb 23, 2026
Merged

feat: wire QA recording captureScope and includeAudio config#6967
Jasonnnz merged 1 commit into
feature/qa-video-automationfrom
swarm/qa-video-auto/task-23

Conversation

@Jasonnnz
Copy link
Copy Markdown
Contributor

@Jasonnnz Jasonnnz commented Feb 23, 2026

Summary

  • Adds captureScope (window|display) and includeAudio fields to QaRecordingConfigSchema and defaults
  • Passes them through TaskRouted IPC message to the macOS client
  • Session.swift now reads includeAudio from config instead of hardcoded false
  • captureScope is stored on the session for metadata consistency
  • Follows the same pattern as retentionDays

Test plan

  • Verify TypeScript type-check passes (bunx tsc --noEmit)
  • Set qaRecording.includeAudio: true in config and verify audio is captured in QA recordings
  • Set qaRecording.captureScope: "window" in config and verify it flows through to session metadata
  • Verify default behavior unchanged (captureScope=display, includeAudio=false)

🤖 Generated with Claude Code


Open with Devin

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Jasonnnz Jasonnnz self-assigned this Feb 23, 2026
@Jasonnnz Jasonnnz merged commit 0fd32e4 into feature/qa-video-automation Feb 23, 2026
@Jasonnnz Jasonnnz deleted the swarm/qa-video-auto/task-23 branch February 23, 2026 17:59
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a2c49c8c63

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

if qaMode, let recorder = screenRecorder {
do {
try await recorder.startRecording(windowID: nil, displayID: nil, includeAudio: false)
try await recorder.startRecording(windowID: nil, displayID: nil, includeAudio: self.includeAudio)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Apply captureScope when starting QA recordings

When qaRecording.captureScope is set to "window", this call still passes windowID: nil and displayID: nil, so ScreenRecorder.startRecording always takes its display fallback path and records the full display. That makes the new captureScope config effectively a no-op for all QA sessions, which will surprise anyone enabling window-only capture and can invalidate QA recording expectations.

Useful? React with 👍 / 👎.

Jasonnnz added a commit that referenced this pull request Feb 23, 2026
…#6967)

Co-authored-by: Vellum Assistant <assistant@vellum.ai>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Jasonnnz added a commit that referenced this pull request Feb 23, 2026
…#6967)

Co-authored-by: Vellum Assistant <assistant@vellum.ai>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Jasonnnz added a commit that referenced this pull request Feb 23, 2026
…#6967)

Co-authored-by: Vellum Assistant <assistant@vellum.ai>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Jasonnnz added a commit that referenced this pull request Feb 23, 2026
…#6967)

Co-authored-by: Vellum Assistant <assistant@vellum.ai>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Jasonnnz added a commit that referenced this pull request Feb 23, 2026
…#6967)

Co-authored-by: Vellum Assistant <assistant@vellum.ai>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Jasonnnz added a commit that referenced this pull request Feb 23, 2026
…#6967)

Co-authored-by: Vellum Assistant <assistant@vellum.ai>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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