Fix copied WSL skill commands on Windows - #13552
Conversation
Native Windows Electron validationThis is the full, uncropped Orca window after selecting the WSL Dev launch mode reports |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughSkill setup flows now pass the selected agent runtime to 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
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 |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 2616c540-1212-4717-bc8c-64edfb37dc93
📒 Files selected for processing (25)
src/renderer/src/components/feature-tips/CliSkillSetupTerminal.tsxsrc/renderer/src/components/feature-wall/BrowserUseSkillSetupCard.tsxsrc/renderer/src/components/floating-terminal/FloatingTerminalOrchestrationDialog.tsxsrc/renderer/src/components/onboarding/FeatureSetupInlineTerminal.test.tsxsrc/renderer/src/components/onboarding/FeatureSetupInlineTerminal.tsxsrc/renderer/src/components/onboarding/onboarding-feature-setup.test.tssrc/renderer/src/components/settings/AgentSkillSetupPanel.test.tsxsrc/renderer/src/components/settings/AgentSkillSetupPanel.tsxsrc/renderer/src/components/settings/BrowserUsePane.tsxsrc/renderer/src/components/settings/BrowserUseSkillStep.tsxsrc/renderer/src/components/settings/CliSection.test.tsxsrc/renderer/src/components/settings/CliSection.tsxsrc/renderer/src/components/settings/CliSkillRuntimeSetup.test.tsxsrc/renderer/src/components/settings/CliSkillRuntimeSetup.tsxsrc/renderer/src/components/settings/ComputerUseSkillSetupPanel.tsxsrc/renderer/src/components/settings/EphemeralVmsPane.tsxsrc/renderer/src/components/settings/LinearAgentSkillPane.tsxsrc/renderer/src/components/settings/OrchestrationPane.tsxsrc/renderer/src/components/settings/OrchestrationSetupCard.tsxsrc/renderer/src/components/settings/TaskSourceLinearSetup.tsxsrc/renderer/src/components/settings/agent-skill-setup-panel-props.tssrc/renderer/src/components/settings/use-linear-agent-skill-setup.tssrc/renderer/src/components/sidebar/LinearAgentSkillSetupDialog.tsxsrc/renderer/src/components/sidebar/LinearAgentSkillSetupPrompt.test.tsxsrc/renderer/src/components/sidebar/LinearAgentSkillSetupPrompt.tsx
STA-3735 Windows Electron QA (post-review)Verdict: PASS (with noted gaps) Focused Vitest
E2E (Settings → Orchestration skill, default runtime WSL/Ubuntu)
ScreenshotsCopy dialog — bare POSIX Setup terminal — PowerShell draft wraps WSL Ubuntu; visible command stays bare: Missing WSL distro (Fedora) — repair message, Install disabled: Orchestration skill panel (WSL/Ubuntu selected): Final setup terminal (Ubuntu wrap, post-renderer check): Evidence (recoverable, evidence-only)
Gaps (not regressions of this PR)
ConclusionAt |






Summary
Reproduction and root cause
On native Windows with WSL
Ubuntuselected, the generated 1,188-character command began with PowerShell's& { ... }. Orca's inline setup pane correctly opened PowerShell and accepted that draft, but Copy command exposed the same PowerShell-only string; pasting it into Ubuntu Bash failed immediately at the leading&with exit code 2.The command builder was serving both clipboard and Orca-owned terminal destinations despite their different shell dialects. This change keeps the clipboard value as the 73-character
npx skills ...command and applies the selected-distro PowerShell wrapper only at the setup-terminal boundary.Validation
wsl.exe -d 'Ubuntu'wrapper in Orca's inline PowerShell terminal; the real Copy action wrote the bare command to the clipboardThe installation payload was intentionally not executed because that would mutate global agent-skill state.
Risk
The wrapper remains conditional on a local Windows client, WSL runtime, and PowerShell-owned setup terminal. Host, macOS, Linux, remote/SSH, WSL distro selection, and folder-workspace routing retain their existing paths.
STA-3735