Repository navigation
fix(rovo): detect and launch Rovo Dev through acli - #25981
Conversation
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configuration
📥 CommitsReviewing files that changed from the base of the PR and between 317261fa7d3314f5595c805ed277b8f8c247988b and 4e88a56. You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📥 CommitsReviewing files that changed from the base of the PR and between bac0048 and 317261fa7d3314f5595c805ed277b8f8c247988b. 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughRovo Dev detection and launch configuration now use Priority: ⬇️ Low Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to Rovo Dev detection and launch now use 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 2📝 Generate docstrings 💡
🛠️ Fix failing CI checks 💡
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 |
bac0048 to
317261f
Compare
Rovo Dev ships as the `acli rovodev` subcommand, with no `rovo` binary on PATH, so Orca never listed it as installed. Detect `acli`, launch `acli rovodev run` (prompt still typed after start, since a positional instruction is one-shot), and build resume as the launch command plus `--restore <id>` so a full-command settings override composes too. Fixes STA-9645
317261f to
4e88a56
Compare
ELI5
Rovo Dev isn't its own program: it's a command inside Atlassian's
aclitool (acli rovodev run). Orca looked for a program calledrovo, which doesn't exist, so Rovo Dev never showed up as installed. Even if it had, Orca would have launched it with that same missingrovocommand. This points Orca atacliand launchesacli rovodev run.What Changed
rovo, which fails with "command not found".acliis on PATH (locally, in WSL, or over SSH, using the same detection as every other agent). It launches withacli rovodev run(plus--yolowhen YOLO is on), and an initial prompt is typed in once the UI is up. Resuming a past session runsacli rovodev run --restore <id>.TUI_AGENT_CONFIG.rovonow hasdetectCmd: 'acli'andlaunchCmd: 'acli rovodev run'.--restore <id>to the launch command; previously it addedrovodev run --restoreto a bareacli. That means a user's saved command override, which replaces the whole launch command, now resumes correctly as well.acli rovodev run, since it pre-fills that override field.Why
Evidence for the launch shape:
acli rovodev auth login, thenacli rovodev run;--yolo;--restore [id];run [instruction]is the non-interactive mode).rovo-dev-actionrunsacli rovodev run --yolo.acli1.3.39 macOS binary, run in a scratch HOME: there is norovoorrovodevexecutable, and therovodevsubcommand runs a separately downloadedatlassian_cli_rovodevbinary.acli rovodev run <instruction>runs once without the interactive UI, the prompt still goes in after start (stdin-after-start), not on the command line.Alternatives considered:
acli rovodev auth status: this would show Rovo Dev only when it's logged in, but it needs a new kind of detection probe and a network call on every host. I kept the existing "is the command on PATH" detection that every other agent uses.acliinstalled only for Jira will also see Rovo Dev listed. Launching it then shows Atlassian's own "authenticate withacli rovodev auth login" message.Linked Issue
Fixes #25897
Visual Proof
N/A. No layout change: Rovo Dev's existing row just appears under Installed when
acliis present. I had no Rovo Dev account to record a live session.Testing
New tests:
acli/acli rovodev run/ processacli).acli rovodev run '--yolo'with the prompt typed after start).Relevant suites pass: TUI agent config, startup, resume, process recognition, permissions, and the Settings Agents pane (219 files, 1618 tests).
pnpm run check:code-quality:changed: 0 new findings.pnpm tc: the only error is instructured-agent-session-codex-stopped-send-order.test.ts(missingresolveLaunchArgs), which is already broken on currentmainand untouched here.Not verified live: I have no Rovo Dev account. I couldn't confirm that the process Orca sees while Rovo Dev runs is named
aclirather than the inneratlassian_cli_rovodev. If it isn't, Orca's readiness detection for typing the startup prompt would wait for its timeout.I manually tested these changes locally
Automated tests added/updated, or explained why not below
AI Disclosure
Review
Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Notes
Detection runs per execution host, so this works the same locally, in WSL, and over SSH. A user who previously saved
acli rovodev runas a command override keeps working; one who saved a bareacliwould need to update it (that launch never worked before either).Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)