Skip to content

bug: restore local Server installation and service management in the redesigned Desktop #2817

Todo

Description

@knqiufan

Describe the bug

The Desktop proposed in #2730 offers Install service, but clicking it in the native app never starts the installer. The redesign also removes the previous Local Server settings entry, leaving users who already installed a managed Server without the previous controls. This issue tracks restoring those paths in the redesigned UI under #2117.

Steps to reproduce

  1. Launch the native Desktop from feat(desktop): replace the Desktop experience #2730 at c181b10d with no active Desktop connection.
  2. From Home or Services & Agents, choose Install service and confirm.
  3. Wait for the dialog to finish. For the management case, open the redesigned UI with a previously Desktop-managed installation and look for the local service controls.

Expected behavior

A user can review an installation plan, authorize it, see progress, and open their first Memory in the default Scope returned by the running Server. A returning user can inspect and manage a Desktop-owned service. A user with an independently installed Server can choose to connect to it and retain ownership of its lifecycle.

Actual behavior

The dialog retries for three minutes, then reports “This build is not connected to the local installer yet.” Both native install handlers raise this error before invoking the existing Desktop operations bridge. Retrying cannot start an installation. The previous local setup and management UI was removed in the same change. Review discussion

Environment

Native Desktop debug build on macOS 26.6, Apple Silicon. The installation failure was observed on the proposed PR revision above.

Delivery in two PRs

  • PR 1 — Install a local Server and recover interrupted setup (first-run and recovery work in feat(desktop): guide local Server setup and lifecycle management #2117). Wire the redesigned install entry points to the existing native preflight, plan, apply, and operation-status flow. Show missing installation resources or an incompatible installation promptly, and offer the existing-Server connection path where appropriate. On reopen or a lost response, inspect the recorded operation before offering resume or retry. Acceptance: with a supported package, one confirmed install produces a reachable Server, opens its default Scope, and allows the first Memory action. Reopening during installation resumes from the observed state without starting a second install.
  • PR 2 — Manage an already installed local Server (lifecycle work in feat(desktop): guide local Server setup and lifecycle management #2117). Restore status, start, stop, restart, supported login-start controls, and removal of service registration. Show which installation Desktop owns and report each action's observed outcome. Keep forgetting a saved connection distinct from removing the service registration. Acceptance: start with an existing managed install, verify stop and restart against the actual service, and verify that removing registration preserves configuration and Memories. An independently installed Server remains connectable without exposing Desktop-owned lifecycle actions.

Activity

  1. added
    bug
    on Nov 24, 2026
  2. Lkx-JY commented on Nov 24, 2026

    @Lkx-JY
    Contributor

    I‘d like to take it.

  3. knqiufan commented on Dec 1, 2026

    @knqiufan
    CollaboratorAuthor

    Due to the long period of inactivity from the claimant regarding the corresponding functions, the claimant has been changed. Thank you @Lkx-JY for your participation!

  4. assigned and unassigned on Dec 1, 2026
  5. added
    module:desktop
    on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugmodule:desktop

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions