Skip to content

Discover Ultracode capabilities on the selected remote or WSL host #1921

Closed

Description

@currentbits

Scope: follow up merged PR #1918. Preserve launch-time version checks, normal effort, saved mode intent, named accounts and local behavior.

Plan:

  • Read Add fresh context, Ultracode toggle and managed process cleanup #1918 and trace provider discovery and Composer/AgentsPane host/model eligibility.
  • Add asynchronous cached host-specific capability discovery and use it for picker/profile eligibility.
  • Add regressions for remote/local version mismatches, disconnected hosts and WSL; run targeted tests and typecheck.
  • Annotate the diff in this thread's review itinerary.

Activity

  1. added and removed on Nov 7, 2026
  2. currentbits commented on Nov 7, 2026

    @currentbits
    OwnerAuthor

    Read merged #1918 and current source. The thread checkout predated that PR and diverged from origin/main; preserved its branch and continued on coder/1921-host-ultracode from origin/main in the same isolated worktree.

    Implemented a project/provider-scoped read-only capability query reusing remoteCliSupportsUltracode's pending/completed cache. Composer and AgentsPane use asynchronous host discovery, reject stale host/account results, and keep saved intent editable. Local metadata behavior and launch-time validation remain in place. Backend and Composer targeted regressions pass; profile regressions and broader affected checks are in progress.

  3. currentbits commented on Nov 7, 2026

    @currentbits
    OwnerAuthor

    Implemented on coder/1921-host-ultracode in this thread's isolated worktree. Discovery is project/account scoped and asynchronous, reuses the existing five-minute remote CLI support cache, and feeds Composer/profile eligibility without borrowing local availability. Shared model eligibility, stale-result rejection, connected-host offline handling and existing-transport reuse are covered. Saved intent, named-account refs, normal effort and launch-time validation remain intact.

    Validation: 561 renderer tests pass; 174 affected Electron tests pass, one Windows-specific test skipped on macOS. Typecheck, generated preload check, production build and git diff --check pass. Electron checks used clean CODER_* / provider-free PATH and required local socket access outside the sandbox. Added portable backend coverage to Windows CI. No live SSH/WSL host exercised. Review itinerary written to .solenta/review-itinerary/8eba5cbc-01d6-4a2d-8c5c-e3ec1b3a5d29.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions