Skip to content

windows vscode opencode extension process freeze #9622

Closed

Description

@caozhiyuan

Description

windows vscode opencode extension process freeze: when switching vscode to the background (for example, opening a browser and working for a while), after some time returning to vscode, the opencode extension window becomes unresponsive. The vscode subprocess consistently uses 25% CPU.

Plugins

No response

OpenCode version

1.1.27

Steps to reproduce

  1. let opencode run some task in vscode extension opencode
  2. opening a browser and working for a while
  3. back to vscode

Screenshot and/or share link

No response

Operating System

windows 11

Terminal

pwsh

Activity

  1. github-actions commented on Jan 20, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. caozhiyuan commented on Jan 21, 2026

    @caozhiyuan
    ContributorAuthor

    @rekram1-node There is no issue when opening outside the VSCode internal terminal; however, when opening within VSCode and using it for a while, it causes the VSCode subprocess CPU usage to spike to about 25%, after which the OpenCode interface freezes.

  3. caozhiyuan commented on Jan 21, 2026

    @caozhiyuan
    ContributorAuthor

    Problem process:
    CommandLine="C:\Users\xxx\AppData\Local\Programs\Microsoft VS Code\Code.exe" --type=renderer --user-data-dir="C:\Users\xxx\AppData\Roaming\Code" --standard-schemes=vscode-webview,vscode-file --enable-sandbox --secure-schemes=vscode-webview,vscode-file --cors-schemes=vscode-webview,vscode-file --fetch-schemes=vscode-webview,vscode-file --service-worker-schemes=vscode-webview --code-cache-schemes=vscode-webview,vscode-file --app-user-model-id=Microsoft.VisualStudioCode --app-path="C:\Users\xxx\AppData\Local\Programs\Microsoft VS Code\resources\app" --enable-sandbox --enable-blink-features=HighlightAPI --max-active-webgl-contexts=32 --disable-blink-features=FontMatchingCTMigration,StandardizedBrowserZoom, --video-capture-use-gpu-memory-buffer --lang=en-US --device-scale-factor=2.5 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=4 --time-ticks-at-unix-epoch=-1767168900234389 --launch-time-ticks=1796835869402 --field-trial-handle=1836,i,1728646702783304408,6593918439366806803,262144 --enable-features=DocumentPolicyIncludeJSCallStacksInCrashReports,EarlyEstablishGpuChannel,EnableTransparentHwndEnlargement,EstablishGpuChannelAsync --disable-features=CalculateNativeWinOcclusion,LocalNetworkAccessChecks,ScreenAIOCREnabled,SpareRendererForSitePerProcess,TraceSiteInstanceGetProcessCreation --variations-seed-version --trace-process-track-uuid=3190708990060038890 --mojo-platform-channel-handle=3284 --vscode-window-config=vscode:32c12368-c66b-4e8a-8e2c-02b8a5d68d02 /prefetch:1

  4. caozhiyuan commented on Jan 21, 2026

    @caozhiyuan
    ContributorAuthor

    after disable animations , The process will not hang now @rekram1-node

  5. caozhiyuan commented on Jan 21, 2026

    @caozhiyuan
    ContributorAuthor

    also set OPENCODE_DISABLE_TERMINAL_TITLE=1

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingperfIndicates a performance issue or need for optimizationwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions