provider update advisories#2312
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 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 |
ApprovabilityVerdict: Needs human review This PR introduces a significant new feature for provider update advisories with one-click update functionality, including executing shell commands (npm/bun install), fetching versions from npm registry, new RPC endpoints, and UI notification components. The scope and runtime impact warrant human review. You can customize Macroscope's approvability policy. Learn more. |
|
just merged a large refactor on how drivers work and is registerred so this will need to be updated, i can review it when it is |
aeb88d0 to
9c34d30
Compare
|
@juliusmarminge this has been rebased now :) |
|
and there should be some "dismiss until next update" or something so it doesn't reprompt every load: CleanShot.2026-05-02.at.00.05.13.mp4 |
f072e3d to
1179cdc
Compare
|
@justsomelegs is attempting to deploy a commit to the Ping Labs Team on Vercel. A member of the Team first needs to authorize it. |

What Changed
Compared to
main, this PR adds provider update advisories and update-state UI for installed providers.Server-side:
Web-side:
UpdateactionUp to date.Also includes tests covering the update lifecycle, updater behavior, notification logic, and the rebased provider registry fixture change.
Why
maindoes not have provider update advisories or a dedicated way to surface provider update state in the UI.This PR adds that missing flow so users can:
The toast handles the action. The sidebar pill handles ongoing state and final status.
UI Changes
Compared to
main:Before:
After:
UpdateactionUp to date.after a successful updateupdate.demo.vid.mp4
Checklist
Note
Add provider update advisories with one-click update support in settings and sidebar
versionAdvisory(status, current/latest version, update command) and optionalupdateState(queued/running/succeeded/failed).providerVersionLifecycleandproviderUpdatermodules on the server to resolve per-provider update commands (npm-global, bun-global, cursor agent) and execute updates with concurrency locks and output capture.server.updateProviderRPC method over WebSocket and IPC, wired throughProviderRegistrywhich overlays transient update state onto provider snapshots without persistence.GeneralSettingsPanel) now shows inline Update buttons on eligible provider cards, executes one-click updates, and scrolls to the providers section when navigated to via#providershash.ProviderUpdateLaunchNotificationandSidebarProviderUpdatePillto surface update availability as toasts and a sidebar pill with auto-dismiss and dismissal persistence viadismissedProviderUpdateNotificationKeysin client settings.writeProviderStatusCachenow stripsupdateStatebefore writing to disk, changing the format of cached provider status files.Macroscope summarized 58eb8f1.