Skip to content

Add commit description using co-pilot error #23080

Closed

Description

@OnFormLimited

The problem

CLI server exited with code 1
stderr: copilot-runtime: failed to load runtime cdylib C:\Users\stephen.moore\AppData\Local\GitHubDesktop\app-3.6.7\resources\app\copilot\prebuilds\win32-x64\runtime.node: LoadLibraryExW failed

Release version

3.6.7 (x64)

Operating system

Win10

Steps to reproduce the behavior

1-Select a change to commit
2-click on the copilot (bear?) icon

Log files

No response

Screenshots

No response

Additional context

No response

Activity

  1. desktop-triage commented on Oct 26, 2026

    @desktop-triage

    Triage summary: This report describes the Copilot native runtime module (runtime.node) failing to load on Windows when generating a commit message/description, which matches an existing open report, #22558 ("Error: resources\app\copilot\prebuilds\win32-x64\runtime.node"). Both issues show the native addon at the exact same path (...\copilot\prebuilds\win32-x64\runtime.node) failing to initialize on Windows 10/11 — #22558 surfaces it as a DLL initialization failure (0xc000001d) while this issue surfaces the same failure mode via LoadLibraryExW failed, which is a different OS-level error message for the same underlying native-module load failure. I'm not adding a label since this repo has no duplicate label; recommend tracking further discussion under #22558.

    Initial hypothesis: The error occurs when the Node.js native addon loader in the bundled Copilot CLI server tries to load the platform-specific runtime.node binary from the user's local AppData install directory and the OS-level dynamic loader (LoadLibraryExW) refuses to load it. In #22558 the same binary at the same path fails with a DLL initialization routine failure (exception 0xc000001d, which typically indicates a corrupted/incompatible native module, missing Visual C++ runtime dependency, or AV/security software blocking load). Since both reports are Windows-only, point at the identical file path, and involve the native module failing before any execution occurs, this looks like the same underlying native-binary load issue rather than a distinct new bug — likely environment-specific (missing VC++ redistributable, AV interference, or a corrupted/partial Desktop install) rather than a logic bug in Desktop's own code. Confirming whether the user has the required VC++ runtime installed, or trying a clean reinstall, would help validate this against the existing report.

    Duplicate check: Likely duplicate of #22558 (open, same root cause class). No other closer matches found in a search for "CLI server exited with code 1 copilot", "copilot-runtime LoadLibraryExW", or "commit message copilot generate failed".

    Generated by Issue Triage (skills-driven) for #23080 · auto · 25.5 AIC · ⊞ 4.4K · ◷

  2. sergiou87 commented on Oct 27, 2026

    @sergiou87
    Member

    Could you try updating to the latest version 3.6.10 and see if it still happens there?

  3. added
    more-info-needed
    on Oct 27, 2026
  4. github-actions commented on Nov 10, 2026

    @github-actions
    Contributor

    Thank you for your issue!
    We haven't gotten a response to our questions above. With only the information that is currently in the issue, we don't have enough information to take action. We're going to close this but don't hesitate to reach out if you have or find the answers we need. If you answer our questions above, this issue will automatically reopen.

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

    more-info-neededneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions