Skip to content

Follow up: resolve surface.read_text workspace targeting - #220

Merged
lawrencecchen merged 1 commit into
mainfrom
followup-pr-219-review-comments
Feb 21, 2026
Merged

lawrencecchen merged 1 commit into
mainfrom
followup-pr-219-review-comments

Conversation

@lawrencecchen

@lawrencecchen lawrencecchen commented Feb 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • fix surface.read_text so it resolves reads against the requested workspace_id / surface_id instead of the currently selected workspace
  • keep read_screen behavior unchanged for v1 while sharing the terminal text extraction path
  • extend tests_v2/test_read_screen_capture_pane_parity.py to verify reads from a non-selected workspace (v2 and CLI)

Context

Validation

  • xcodebuild -project GhosttyTabs.xcodeproj -scheme cmux -configuration Debug -destination 'platform=macOS' build
  • CMUX_TAG=followup-pr-219-comments CMUX_SOCKET=/tmp/cmux-debug-followup-pr-219-comments.sock CMUX_SOCKET_PATH=/tmp/cmux-debug-followup-pr-219-comments.sock CMUXTERM_CLI=/tmp/cmux-followup-pr-219-comments/Build/Products/Debug/cmux python3 tests_v2/test_read_screen_capture_pane_parity.py
  • CMUX_TAG=followup-pr-219-comments CMUX_SOCKET=/tmp/cmux-debug-followup-pr-219-comments.sock CMUX_SOCKET_PATH=/tmp/cmux-debug-followup-pr-219-comments.sock CMUXTERM_CLI=/tmp/cmux-followup-pr-219-comments/Build/Products/Debug/cmux python3 tests/test_blank_screen.py

Addresses review feedback from #219 by resolving read-screen targets against requested workspace/surface instead of the selected workspace.
@cmux-agent

cmux-agent Bot commented Feb 21, 2026 •

Copy link
Copy Markdown
Contributor

Preview Videos and Screenshots

Open Workspace (1 hr expiry) · Open Dev Browser (1 hr expiry) · Open Diff Heatmap

Failed to capture screenshots for commit 7dbd781.

Claude Code native binary not found at /root/.bun/bin/claude. Please ensure Claude Code is installed via native installer or specify a valid path with options.pathToClaudeCodeExecutable.


Generated by manaflow preview system

@vercel

vercel Bot commented Feb 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cmux Ready Ready Preview, Comment Feb 21, 2026 0:32am

@lawrencecchen
lawrencecchen merged commit 2a1f810 into main Feb 21, 2026
5 checks passed
@lawrencecchen
lawrencecchen deleted the followup-pr-219-review-comments branch February 21, 2026 00:41
bn-l pushed a commit to bn-l/cmux that referenced this pull request Apr 3, 2026
…eview-comments

Follow up: resolve surface.read_text workspace targeting

This branch was successfully deployed

1 active deployment
Preview — 7dbd7811 Deployed Feb 21, 2026 by vercel[bot]
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