fix(desktop): clarify CLI runtime setup#2680
Conversation
|
hey @atishpatel — consolidated review feedback from two independent passes at 1. (important, flagged independently by both reviewers) 2. (minor) 3. (minor) The Goose Windows installer is pinned to the mutable 4. (minor) In 5. (nit) 6. (nit) 7. (nit) Two unrelated blank-line deletions in Item 1 is the only merge-blocker from our side. CI is fully green at head. |
|
🤖 Addressed all seven review items in f19b483 (included in current merge head 9d1faf2):
The branch was also merged with current origin/main; GitHub CI is the validation gate for head 9d1faf2. |
Co-authored-by: Atish Patel <atish@squareup.com> Signed-off-by: Atish Patel <atish@squareup.com> Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Atish Patel <atish@squareup.com> Signed-off-by: Atish Patel <atish@squareup.com> Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Atish Patel <atish@squareup.com> Signed-off-by: Atish Patel <atish@squareup.com> Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Atish Patel <atish@squareup.com> Signed-off-by: Atish Patel <atish@squareup.com> Co-authored-by: Codex <noreply@openai.com>
Move external CLI guidance into runtime catalog metadata and make post-install rediscovery targeted and auth-probe-free. Clarify setup labels and the Goose Windows installer constraint. Co-authored-by: Atish Patel <atish@squareup.com> Signed-off-by: Atish Patel <atish@squareup.com> Co-authored-by: Goose <opensource@block.xyz>
Keep main's per-runtime mutation state without retaining the optimistic-success binding removed by post-install verification. Co-authored-by: Atish Patel <atish@squareup.com> Signed-off-by: Atish Patel <atish@squareup.com> Co-authored-by: Codex <noreply@openai.com>
Align Doctor E2E assertions with the review-requested CLI setup guide label. Co-authored-by: Atish Patel <atish@squareup.com> Signed-off-by: Atish Patel <atish@squareup.com> Co-authored-by: Codex <noreply@openai.com>
Post-#2750, powershell.exe install commands spawn natively via install_powershell_command() — the Git Bash -c layer is gone. The Goose Windows catalog entry carried a \$ escape that was written to survive the old bash layer; with native spawn the body is passed verbatim, so PowerShell received literal \:CONFIGURE='false' — a malformed statement. Drop the backslash so the runtime body is bare $env:CONFIGURE='false', which PowerShell evaluates correctly as an environment-variable assignment. Also restore the installSuccess derived variable in DoctorSettingsPanel RuntimeRow that was dropped during conflict resolution, and update the runtime_metadata test assertion that was guarding the old escaped form. Add test_powershell_command_goose_catalog_dequoted (Windows-only) to pin that the catalog command routes through install_powershell_command and produces the unescaped body as a single argv element. Bump the agent_discovery.rs file-size override from 1810 to 1826 to account for the new test. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
bbd0d73 to
680a9bd
Compare
…stallSuccess plumbing Rebase conflict resolution in the prior commit incorrectly preserved main's #2658 per-card mutation architecture while dropping three Atish-authored hunks: - guidance div (doctor-runtime-guidance-*) missing from RuntimeRow - not_installed availability not included in CLI-needed chip branch - installSuccess binding restored instead of deleted; installSuccess banner kept This commit replaces the panel with Atish's final state from ca34471: - guidance div reinserted between RuntimeHeader and config_invalid paragraph - not_installed added to CLI-needed chip (alongside cli_missing) - installSuccess variable, prop threading through Row/Header/Actions, isOn computed var, disabled expression, and green banner all removed - data-testid on install-error paragraph preserved (added by fc15d79) - per-card resetEpoch architecture from #2658 kept (Atish's final intent) Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
## Buzz Desktop release v0.4.26 ### Changes since v0.4.25: - Style mobile pairing QR codes ([#2775](#2775)) ([`50655ac09`](50655ac)) - Refine community management flows ([#2738](#2738)) ([`384c72dee`](384c72d)) - docs: replace VPN-vendor references with generic wording ([#2805](#2805)) ([`bcca885ba`](bcca885)) - fix(desktop): explain macOS local network access ([#2263](#2263)) ([`e527d74f0`](e527d74)) - fix(desktop): clarify CLI runtime setup ([#2680](#2680)) ([`b8510ede1`](b8510ed)) **To release:** merge this PR. The tag and build will happen automatically.
Why
Installing the Codex, Claude, or Goose desktop app does not install the command-line harness Buzz needs. The current UI makes that distinction unclear, links some missing-CLI states to adapter documentation, and can report a successful install from the installer exit code even when runtime discovery still fails. On Windows, Buzz also invokes Goose's Bash installer, which writes the executable somewhere Buzz does not discover.
What
Risk Assessment
Medium. This changes desktop onboarding and runtime installation behavior. Successful installs now require the runtime catalog to verify availability; previously hidden discovery failures will surface as actionable errors instead of a false success state.
References
Validation
just desktop-typecheckjust desktop-test— 3,455 passedGenerated with Codex