Skip to content

Unable to upgrade or downgrade CLI #2183

@springcomp

Description

@springcomp

Describe the bug

version 1.0.9 currently has an issue that prevents it from loading MCP Servers while running non interactively using the --prompt flag.

I have tried downloading some previous assets (1.0.8 and 1.0.7) from the Releases pages.
Event tried downloading latest prerelease version 1.0.10.

Event, then:

> gcm copilot

CommandType     Name            Version    Source
-----------     ----            -------    ------
Application     copilot.exe     1.0.10.0   c:\users\mlabelle\appdata\local\githubcopilotcli\copilot.exe

Tried to force upgrade:

> copilot update

Checking for updates...
No update needed, current version is 1.0.9, fetched latest release is v1.0.9
Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76

Affected version

1.0.9

Steps to reproduce the behavior

  • In a Terminal, run copilot --version and take note of the version.
  • Got to GitHub Copilot CLI Releases page.
  • Select an asset from your platform-specific ZIP archive.
  • Unzip the archive to a temporary folder, says $env:TEMP.
  • Run $Env:TEMP\copilot.exe --version.

Expected behavior

Selected matching version should be displayed.
Instead, the same version number as the original version is displayed.

(This bug manifests itself even if you completely uninstall the previous version).

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions