Skip to content

Remove the Uninstall Posit Assistant command - #18662

Merged
gtritchie merged 1 commit into
mainfrom
feature/pa-remove-uninstall-command
Aug 27, 2026
Merged

gtritchie merged 1 commit into
mainfrom
feature/pa-remove-uninstall-command

Conversation

@gtritchie

@gtritchie gtritchie commented Aug 27, 2026 •

Copy link
Copy Markdown
Member

First of the five PRs in #18658 (side-by-side versioned Posit Assistant installs), which removes uninstall entirely: detectable corruption will self-heal through the selector fallback, and undetectable corruption is handled by the Reinstall button added in a later PR. Sequencing this first shrinks every PR after it.

Removed:

  • chat_uninstall_posit_assistant RPC (SessionChat.cpp) and its registration
  • the uninstallPositAssistant command, its Help > Diagnostics menu entry, the Commands.java stub, and the generated en/fr command strings (Commands.cmd.xml.MD5 regenerated)
  • ChatPresenter.onUninstallPositAssistant() / performUninstall(), the ChatTab.Shim binding, the ChatServerOperations declaration, the RemoteServer binding, and the chat en/fr dialog strings
  • e2e/rstudio/tests/panes/posit-assistant-chat/uninstall-posit-ai.test.ts
  • the "Removing Posit Assistant" section of the user guide

The install and update paths keep the locking, ai.prev backup, and reap helpers that the uninstall handler shared with them; PRs 3 and 4 of #18658 remove those. The PaneManager comment explaining why the command stayed visible with Posit Assistant disabled is gone, along with stale mentions of uninstall in nearby comments and e2e docs.

Two notes on what this PR deliberately does not do:

Verification: ant draft, cmake --build . --target rsession, rstudio-tests --scope rsession (432 passed), npm run typecheck in e2e/rstudio. Manually confirmed in a local build that the command no longer appears in the command palette or the Help > Diagnostics menu.

Addresses #18658.

Removes the chat_uninstall_posit_assistant RPC and the full command
surface: the command definition and its Help > Diagnostics menu entry,
the Commands.java stub, en/fr strings, the ChatPresenter handling and
ChatTab shim binding, the RemoteServer binding, the ChatServerOperations
declaration, the e2e spec, and the user-guide section documenting it.

The install and update paths keep the locking, backup, and reap helpers
the uninstall handler shared with them.

Addresses #18658.
@github-actions

github-actions Bot commented Aug 27, 2026 •

Copy link
Copy Markdown

RStudio E2E - all platforms

All tests passed!

#################### 100% pass rate

Passed Failed Skipped Flaky
2413 0 161 1
Platform ✅ Passed ❌ Failed ⚠️ Skipped 🔁 Flaky
✅ auth-teardown 2 0 10 0
✅ desktop-linux 601 0 31 0
✅ desktop-macos 597 0 35 1
✅ desktop-windows 607 0 31 0
✅ server-linux 580 0 44 0
✅ setup 26 0 10 0
View / download the full report

View report online -- opens in the browser, no download needed. Available for 14 days.

Download playwright-report.zip -- extract and open index.html

Includes screenshots, traces, and step-by-step details for every test. Expires in 15 days.


All platforms - commit 32f0a159336e60c8c633b8867acf77e692f7f8ac - Run #720

@gtritchie
gtritchie merged commit ca3232d into main Aug 27, 2026
49 of 50 checks passed
@gtritchie
gtritchie deleted the feature/pa-remove-uninstall-command branch August 27, 2026 21:16
gtritchie added a commit that referenced this pull request Aug 28, 2026

This branch was previously deployed

1 inactive deployment
e2e-playwright — 32f0a159 Deployed Aug 27, 2026 by gtritchie via macos / e2e-desktop-macos (2) #720
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