Skip to content

the panel become grey after run a long time #8197

Closed

Description

@cheezmil

What version of the VS Code extension are you using?

0.5.52

What subscription do you have?

business

Which IDE are you using?

VS Code

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What issue are you seeing?

Image

What steps can reproduce the bug?

After running the task, the codex executed some commands and suddenly became very, very slow. The controls were unresponsive when clicked, but they responded after a while. However, after a period of time, it turned gray directly.

What is the expected behavior?

fix

Additional information

My memory is sufficient, my task manager shows that half of the memory is still available. I opened 7 vscode windows, but it may have nothing to do with how many vscode windows I opened.

Version: 1.107.0 (system setup)
Commit: 618725e67565b290ba4da6fe2d29f8fa1d4e3622
Date: 2025-12-10T07:43:47.883Z
Electron: 39.2.3
ElectronBuildId: 12895514
Chromium: 142.0.7444.175
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.22631

Activity

  1. added
    extension
    on Dec 17, 2025
  2. added
    bug
    windows-os
    on Dec 17, 2025
  3. cheezmil commented on Dec 17, 2025

    @cheezmil
    Author

    The previous version shouldn't have had this problem, right? All the codex in the VSCode window turned gray. I can only force quit VSCode and reopen it, which is really frustrating.

  4. Tomodovodoo commented on Dec 17, 2025

    @Tomodovodoo
    Image

    Same issue here, specifically goes white (on 2 seperate windows at the same time), this time when opening specific thoughts inside Codex. Unsure what the exact cause is.

    VSCode OSS Version: 1.104.0 (user setup)
    Commit: c595276fa83d83a7c3233d582e4120f92017171c
    Date: 2025-12-08T23:18:46.541Z (1 wk ago)
    Electron: 37.3.1
    Chromium: 138.0.7204.235
    Node.js: 22.18.0
    V8: 13.8.258.31-electron.0
    OS: Windows_NT x64 10.0.19045
    Language Server CL: 841922742

    codex --version
    codex-cli 0.73.0

    Codex Extension:
    Version 0.5.52

    Execution did not cost excessive RAM/CPU usage, previous reports of this bug have been labelled as completed while this bug is still active. Please note what information/reports are needed from users to solve this issue. I've been encountering it close to daily; It interupts Codex and stops thought (no background continuation), and I need to fully restart my IDE to fix it (no error/cannot just reload the extension.)

  5. btraut commented on Dec 17, 2025

    @btraut

    I hit this a couple times today as well. Here's my (slightly redacted) logs that may explain some of it:

    2025-12-17 11:13:24.118 [warning] [warn] is production release true warning false
    2025-12-17 11:13:29.697 [error] Error fetching vscode://codex/git-current-branch: TypeError: Cannot destructure property 'gitRoot' of 'undefined' as it is undefined.
    2025-12-17 11:13:31.663 [error] Error fetching vscode://codex/git-current-branch: TypeError: Cannot destructure property 'gitRoot' of 'undefined' as it is undefined.
    2025-12-17 11:13:31.700 [warning] Deprecation notice: `tools.web_search` is deprecated. Use `[features].web_search_request` instead. Enable it with `--enable web_search_request` or `[features].web_search_request` in config.toml. See https://github.com/openai/codex/blob/main/docs/config.md#feature-flags for details.
    2025-12-17 11:16:33.751 [error] [desktop-notifications][unhandled-rejection] TypeError: Cannot read properties of undefined (reading 'replace')
        at i (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:1:586)
        at at (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:3:1023)
        at Object.ot [as highlightAuto] (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:3:1177)
        at Module.sa (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:5:64796)
        at https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/index-XhV4eZDB.js:1405:314545
    2025-12-17 11:20:17.650 [error] [desktop-notifications][unhandled-rejection] TypeError: Cannot read properties of undefined (reading 'replace')
        at i (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:1:586)
        at at (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:3:1023)
        at Object.ot [as highlightAuto] (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:3:1177)
        at Module.sa (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:5:64796)
        at https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/index-XhV4eZDB.js:1405:314545
    2025-12-17 11:21:32.460 [error] [desktop-notifications][unhandled-rejection] TypeError: Cannot read properties of undefined (reading 'replace')
        at i (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:1:586)
        at at (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:3:1023)
        at Object.ot [as highlightAuto] (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:3:1177)
        at Module.sa (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:5:64796)
        at https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/index-XhV4eZDB.js:1405:314545
    2025-12-17 11:26:03.290 [error] [desktop-notifications][unhandled-rejection] TypeError: Cannot read properties of undefined (reading 'replace')
        at i (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:1:586)
        at at (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:3:1023)
        at Object.ot [as highlightAuto] (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:3:1177)
        at Module.sa (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/highlight-code-Dh0EkYFU.js:5:64796)
        at https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.51-darwin-arm64/webview/assets/index-XhV4eZDB.js:1405:314545
    2025-12-17 11:26:06.826 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
    2025-12-17 11:31:22.759 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
    2025-12-17 11:48:57.312 [warning] [warn] is production release true warning false
    2025-12-17 11:52:13.433 [error] Error fetching vscode://codex/git-current-branch: TypeError: Cannot destructure property 'gitRoot' of 'undefined' as it is undefined.
    2025-12-17 11:53:45.474 [warning] Deprecation notice: `tools.web_search` is deprecated. Use `[features].web_search_request` instead. Enable it with `--enable web_search_request` or `[features].web_search_request` in config.toml. See https://github.com/openai/codex/blob/main/docs/config.md#feature-flags for details.
    2025-12-17 11:53:45.503 [error] Error fetching vscode://codex/git-current-branch: TypeError: Cannot destructure property 'gitRoot' of 'undefined' as it is undefined.
    2025-12-17 11:55:07.310 [error] [desktop-notifications][unhandled-rejection] TypeError: Cannot read properties of undefined (reading 'replace')
        at i (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.52-darwin-arm64/webview/assets/highlight-code-vwZ_9vnu.js:1:586)
        at at (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.52-darwin-arm64/webview/assets/highlight-code-vwZ_9vnu.js:3:1023)
        at Object.ot [as highlightAuto] (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.52-darwin-arm64/webview/assets/highlight-code-vwZ_9vnu.js:3:1177)
        at Module.sa (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.52-darwin-arm64/webview/assets/highlight-code-vwZ_9vnu.js:5:64796)
        at https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.52-darwin-arm64/webview/assets/index-BqNGyrNH.js:1403:239308
    2025-12-17 11:55:07.315 [error] [desktop-notifications][unhandled-rejection] TypeError: Cannot read properties of undefined (reading 'replace')
        at i (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.52-darwin-arm64/webview/assets/highlight-code-vwZ_9vnu.js:1:586)
        at Me (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.52-darwin-arm64/webview/assets/highlight-code-vwZ_9vnu.js:3:921)
        at Object.Z [as highlight] (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.52-darwin-arm64/webview/assets/highlight-code-vwZ_9vnu.js:2:171)
        at Module.sa (https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.52-darwin-arm64/webview/assets/highlight-code-vwZ_9vnu.js:5:64710)
        at https://file+.vscode-resource.vscode-cdn.net/Users/<user>/.vscode/extensions/openai.chatgpt-0.4.52-darwin-arm64/webview/assets/index-BqNGyrNH.js:1403:239308
    
  6. etraut-openai commented on Dec 17, 2025

    @etraut-openai
    Contributor

    Thanks @btraut, that's a very helpful clue. This will be fixed in the next release.

  7. orellanaed commented on Dec 18, 2025

    @orellanaed

    Happens on MacOS as well

    macOS Tahoe Version 26.1

    Image
  8. cheezmil commented on Dec 18, 2025

    @cheezmil
    Author

    It seems that the screen is no longer gray, but all codex seems to have restarted and returned to the Home page, interrupting the work that was being done. This is not an effective fix.

  9. etraut-openai commented on Dec 18, 2025

    @etraut-openai
    Contributor

    @cheestard, can you say more? Have you upgraded to 0.5.53? If you're seeing a problem in that version, please open a new bug and provide details and repro steps if possible. If you have evidence (or even a suspicion) that the new behavior is related to this bug fix, let us know in the new bug report.

  10. kreatiffchik commented on Dec 19, 2025

    @kreatiffchik

    Same issue here!

    Which version of the VS Code extension are you using?
    0.4.53

    What subscription do you have?
    Plus

    Which IDE are you using?
    VS Code

    What platform are you running on?
    Windows 10 Pro 10.0.19045 (Build 19045)

    What issue are you experiencing?
    When running a heavy task, the UI turns into a grey screen and becomes unresponsive.
    Sometimes this happens immediately in a new chat after the first prompt, sometimes after a few additional messages.

    In the previous Codex version, it crashed every time.
    In the current version, it happens intermittently (about every other run).

    I managed to capture a screenshot about one second before the crash.

    Image

    Last log entries before the crash:

    2025-12-19 16:13:48.341 [warning] [warn] is production release true warning false
    2025-12-19 16:13:50.860 [error] [execWindowsCommand] command exception for wsl.exe --status: Error: Command failed: wsl.exe --status
    2025-12-19 16:13:50.860 [error] [wsl] error retrieving eligible distro: Error: Command failed: wsl.exe --status
    2025-12-19 16:21:11.817 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
    2025-12-19 16:21:11.818 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
    

    Additional notes:

    Plenty of free RAM

    CPU is not under load

  11. etraut-openai commented on Dec 19, 2025

    @etraut-openai
    Contributor

    Reopening, since it appears that the problem was not fully fixed.

  12. 72 remaining items

  13. howienguyen commented on Oct 6, 2026

    @howienguyen

    This issue has existed for a very long time, and it keeps happening to me.

  14. d9j commented on Oct 6, 2026

    @d9j

    need create new issue, they dont give sht about discussions in closed issues

  15. fpsheaven commented on Oct 11, 2026

    @fpsheaven

    Issue still persists till this day.
    10/11/2026

  16. realsarge commented on Oct 12, 2026

    @realsarge

    Just don't open the reasoning (Thinking.. dropdown) and you all gonna be fine.

  17. maxwelllondonlab37 commented on Oct 13, 2026

    @maxwelllondonlab37

    Still an issue. 10/13/2026

  18. KernelBypass commented on Oct 17, 2026

    @KernelBypass

    Still an issue (newest CODEX VS Code extension), especially when several CODEX instance in separate dev containers work in parallel.

  19. TechnoBear1000 commented on Oct 19, 2026

    @TechnoBear1000
    Image

    I’m also seeing the Codex panel turn completely gray in VS Code.

    Setup: Windows + VS Code + WSL. The Codex backend appears to keep running, but the UI/webview becomes unusable until the window or panel is reloaded.

    This still occurs on the current Codex extension. 10/19/26

  20. helengracehuang commented on Oct 20, 2026

    @helengracehuang

    Still happening to me... 10/20/26. When is it going to be fixed?

  21. realsarge commented on Oct 20, 2026

    @realsarge

    30. Still happening to me... 10/20/26. When is it going to be fixed?

    You have better chances getting answer from the team opening new issue, because that one's closed.

  22. howienguyen commented on Oct 21, 2026

    @howienguyen

    still happening. So annoying. Please fix it

  23. mateusparente commented on Oct 24, 2026

    @mateusparente

    I'm working on ubuntu and I was having the same issue. Solved disabling gpu acceleration:

    code --disable-gpu
    
  24. ankitsny commented on Oct 26, 2026

    @ankitsny

    It’s still happening and totally unusable.
    Image

  25. cederron commented on Nov 9, 2026

    @cederron

    What's the point of closing the issue when it's still happening a lot?

  26. frankyzha commented on Nov 21, 2026

    @frankyzha

    It's indeed still happening. What a shame

  27. fpsheaven commented on Nov 24, 2026

    @fpsheaven
    {B22C3B48-8A1E-4978-8D1A-D872152B315E} Unacceptable. Please fix this.
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

    bugextension

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions