Skip to content

Regression in 1.0.49: long startup and post-approval blocking in WSL #3408

@whitebob

Description

@whitebob

Summary

After upgrading to Copilot CLI 1.0.49, the CLI became significantly slower in a WSL Linux terminal. This did not happen before 1.0.49.

Environment

  • Copilot CLI: 1.0.49
  • Environment: WSL Linux terminal
  • GitHub auth available via gh

Symptoms

  • Startup blocks for about 2 minutes before the UI becomes responsive.
  • After approving a local command with Yes, there is another noticeable blocking delay before the command actually starts executing.
  • In some cases there is no visible progress output or useful log output during the delay.

What I tried

  • Disabled built-in GitHub MCP server
  • Disabled skills
  • Disabled hooks
  • Disabled IDE auto-connect

The delays still happen, although MCP/auth/tool initialization seems strongly related to the slowdown.

Observations

  • The issue appears to be in the orchestration/initialization path rather than the shell command itself.
  • Running local commands directly in the shell is instantaneous.
  • The slowdown feels related to remote/tooling/auth initialization, which may be especially noticeable in WSL.

Reproduction

  1. Start Copilot CLI in WSL.
  2. Wait for initial startup.
  3. Ask Copilot to run a simple local command.
  4. Approve the command with Yes.
  5. Observe the long blocking delay before the command actually starts.

Expected behavior

  • Startup should be fast, similar to pre-1.0.49 behavior.
  • After approving a local command, execution should begin immediately or show clear progress/debug information.

Actual behavior

  • Startup and post-approval execution both have large blocking delays.
  • The CLI feels much heavier than before 1.0.49 in WSL.

Request

Please investigate whether a regression was introduced in 1.0.49 around:

  • MCP/auth initialization
  • remote orchestration before local command execution
  • WSL-specific terminal/flush latency
  • startup path regressions with minimal/local-only configurations

It would also help to have:

  • a strict local/fast path mode
  • better debug/verbose output for startup and pre-command blocking

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:permissionsTool approval, security boundaries, sandbox mode, and directory restrictionsarea: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