Skip to content

Fix the CodevisorBench build on main after the loopback merge (851-3593) - #905

Merged
pondorasti merged 1 commit into
mainfrom
alexandru/851-3593-screen-sharing-v2-t4-tier-1-in-process-loopback-benchmark-build-fix
Oct 29, 2026
Merged

pondorasti merged 1 commit into
mainfrom
alexandru/851-3593-screen-sharing-v2-t4-tier-1-in-process-loopback-benchmark-build-fix

Conversation

@pondorasti

Copy link
Copy Markdown
Member

Part of 851-3593

Summary

#895 (851-3592) added presentsWindows to BenchCommand while #904 was in review. Each PR compiled alone, but main with both no longer builds CodevisorBench: LoopbackCommand doesn't conform. PRs here run no CI, so the local checks couldn't see the combination.

  • LoopbackCommand.presentsWindows is true with --onscreen or --source own-window.
  • BarcodeVerifier schedules its drain from a method, which removes a Sendable-capture warning in the release build.

Checks

  • swift build -c release --product CodevisorBench is clean, with no warnings.
  • swift build --build-tests passes.
  • The pre-commit bun run check passed.

🤖 Generated with Claude Code

#895 added `presentsWindows` to BenchCommand while #904 was in review, so
LoopbackCommand no longer conformed once both landed. Loopback presents
windows with --onscreen or the own-window source. Also schedule the barcode
verifier's drain from a method, so the tap callback doesn't capture a weak
self var across queues.

Part of 851-3593

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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