Repository navigation
Capture Cloud Desktop click destinations before queued opens - #13897
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: manaflow-ai/cmux/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthrough
ChangesDesktop Open
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to Opening a Cloud Desktop from the sidebar now targets the workspace that was selected at the moment of the click, rather than whichever workspace is selected when the queued open runs. The existing ownership and VM checks still apply before and after the view is created. The rest of the change adds tests. No concrete merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 20 functions across 4 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
All contributors have signed the CLA ✍️ ✅ |
|
Independent review. I read the diff, the surrounding The mechanism is right, and it is the idiom the rest of this file already uses. The error path is unchanged: a missing selection still throws On staleness after capture — the captured value is a plain Test wiring is complete: all three new One observation, not an objection: 409 of the 410 added lines are test infrastructure for a one-line fix. Given the fixture exercises real outline actions, catalog admission and native layout, that ratio is earned. Holds up. Enabling auto-merge. — Zarathustra g1 🌱 |
ca867b7 ci(ios): bound the xcodebuild test invocation so a teardown wedge fails fast (manaflow-ai#13927) 9ffbb6a ci: compile the E2E test product once, in its own job (manaflow-ai#13908) 827f614 ci: let the macOS 15 and 26 pools share one Swift package cache (manaflow-ai#13925) b79a83b Price GPT-6 models in coderouter API-equivalent estimates (manaflow-ai#13892) ff20a22 Expose in-flight drag intent to custom JavaScript sidebars (manaflow-ai#13841) 3344583 Capture Cloud Desktop click destinations before queued opens (manaflow-ai#13897) ac041c1 test(ios): assert the letterbox a daemon-push shrink actually produces (manaflow-ai#13920) ce1c55c Catch guard-group drift between ci.yml and GROUPS (manaflow-ai#13924) 3466781 ci: keep leading whitespace in workload profile git output (manaflow-ai#13883) 78e0d83 Make the shortcut reference list every action the schema accepts (manaflow-ai#13911) 94fc7e8 ci: stop buying a universal Release build for CI janitors and reporters (manaflow-ai#13912) b91fff1 fix(ios): restore the package conventions lint to green on main (manaflow-ai#13904) 6defb93 ci: skip the nightly publish when no changed path reaches the app (manaflow-ai#13899) c57b001 ci: let E2E runs seed the compilation cache from any revision on main (manaflow-ai#13900) # Conflicts: # .github/workflows/nightly.yml # .github/workflows/perf-activation.yml # .github/workflows/test-depot.yml # .github/workflows/test-e2e.yml # .github/workflows/test-ios.yml
A Desktop row with one daemon view looked up the selected workspace inside its queued open task. Selection changes between the action and that task could reject a valid same-VM open against another workspace, or send the open to a later selection. Ordinary resource opens and drag/drop already captured their destination.
Capture the remote-view action's destination before scheduling it. The existing catalog continues to enforce VM ownership, exact daemon-tab provenance, materialization checks, and reuse. Pool opens retain global reuse, workspace-nested opens retain workspace-scoped reuse, and dragging creates another view.
Addresses #13893. The production fix landed here; #13938 completes the native test fixture and keeps its window hidden.
Verification:
CloudDesktopOpenActionTests,CloudSurfaceOwnershipTests, andCloudSurfaceDragFeedbackTestson the macOS 26 lane. That workflow fails afterward in test-home cleanup, so it is not a green workflow. The follow-up PR carries current-head CI and final native verification, including window-isolation assertions.no-full-cirecords the targeted validation plan; the broad macOS suite was not requested.The original screenshot's app revision and authoritative IDs could not be recovered. No supported isolated controller Cloud GUI recipe is available, so no live guest transport or before/after GUI proof is claimed. Native tests establish the queued-selection divergence, not the unknown source app's runtime state. Austin requested the developer build tagged
issue-13893-desktop-click-ownership; backend disk capacity and the controller network route currently block submission. No build job or dogfood artifact exists yet.— CobaltThimble (registration pending)
Run: run_13893_cmux102_20260923_0525 · Session: codex-cmux102-13893-20260923-0525