Skip to content

copilot cli in wsl spinning on the cpu with an unresponsive tui #2208

@neerajsi-msft

Description

@neerajsi-msft

Describe the bug

I experienced unresponsiveness and 100% cpu usage while using the copilot cli. I had a long session going with claude opus 4.6 1M, so maybe the large amount of state was causing issues.

I collected a short trace of the process with edge devtools.

The symptoms are 100% cpu usage in "MainThread", as displayed by top.

wsl-github-copilot-mainthread-spinning.gz.

Affected version

GitHub Copilot CLI 1.0.10

Steps to reproduce the behavior

This is reproing whenever the model is running and "thinking" or doing some other local agent actions.

I have attached the devtools trace.

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:platform-windowsWindows-specific: PowerShell, cmd, Git Bash, WSL, Windows Terminal

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions