the panel become grey after run a long time

Resolved 💬 52 comments Opened Dec 17, 2025 by cheezmil Closed Jan 7, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

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?

<img width="1067" height="2080" alt="Image" src="https://github.com/user-attachments/assets/3a0538a3-27ad-47c8-88d4-30c78897f8b7" />

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

View original on GitHub ↗

52 Comments

cheezmil · 7 months ago

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.

Tomodovodoo · 7 months ago

<img width="340" height="451" alt="Image" src="https://github.com/user-attachments/assets/1c1ca9d2-0db6-43c8-802d-c5bd40b9b4d1" />

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.)

btraut · 7 months ago

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
etraut-openai contributor · 7 months ago

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

orellanaed · 7 months ago

Happens on MacOS as well

macOS Tahoe Version 26.1

<img width="630" height="893" alt="Image" src="https://github.com/user-attachments/assets/b177c173-c5e1-4c60-8101-bc7a6ac9a05e" />

cheezmil · 7 months ago

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.

etraut-openai contributor · 7 months ago

@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.

kreatiffchik · 7 months ago

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

etraut-openai contributor · 7 months ago

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

0x5267 · 7 months ago

I can confirm it has not been fixed. After expanding a thinking process on a "large" project, window turned gray. Had to restart it. I am on Windows 11, on VSCode, and am on version 0.4.53.

etraut-openai contributor · 7 months ago

If you see this, here's the information that would be most useful to us:

  1. Open the Output panel in VS Code and choose Codex from the menu. If there's anything useful at the end of the output log, post the output here (redacting any personal information as necessary).
  2. If that log doesn't contain any relevant clues, use the command palette in VS Code (cmd+shift+P) and choose "Open Webview Developer Tools". This will show the Chrome developer tools panel. Choose the Console tab, and look for any relevant output — in particular, a log line indicating a crash. Post the output here (once again, redacting any personal information).
matchaboar · 7 months ago
If you see this, here's the information that would be most useful to us: 1. Open the Output panel in VS Code and choose Codex from the menu. If there's anything useful at the end of the output log, post the output here (redacting any personal information as necessary). 2. If that log doesn't contain any relevant clues, use the command palette in VS Code (cmd+shift+P) and choose "Open Webview Developer Tools". This will show the Chrome developer tools panel. Choose the Console tab, and look for any relevant output — in particular, a log line indicating a crash. Post the output here (once again, redacting any personal information).

Crash occurred at about 02:28

I don't think there was anything useful in the logs but I copy pasted below

Output

2025-12-20 02:15:28.788 [error] Turn 1 does not match latest turn for conversation 019b3b03-1064-7850-ac31-1fceb033c404
2025-12-20 02:15:28.802 [error] Turn 1 does not match latest turn for conversation 019b3b03-1064-7850-ac31-1fceb033c404
2025-12-20 02:15:28.817 [error] Turn 1 does not match latest turn for conversation 019b3b03-1064-7850-ac31-1fceb033c404
2025-12-20 02:15:28.831 [error] Turn 1 does not match latest turn for conversation 019b3b03-1064-7850-ac31-1fceb033c404
2025-12-20 02:15:28.869 [error] Turn 1 does not match latest turn for conversation 019b3b03-1064-7850-ac31-1fceb033c404
2025-12-20 02:15:28.884 [error] Turn 1 does not match latest turn for conversation 019b3b03-1064-7850-ac31-1fceb033c404
2025-12-20 02:15:28.895 [error] Turn 1 does not match latest turn for conversation 019b3b03-1064-7850-ac31-1fceb033c404
2025-12-20 02:15:28.911 [error] Turn 1 does not match latest turn for conversation 019b3b03-1064-7850-ac31-1fceb033c404
2025-12-20 02:15:28.939 [error] Turn 1 does not match latest turn for conversation 019b3b03-1064-7850-ac31-1fceb033c404
2025-12-20 02:15:28.944 [error] Turn 1 does not match latest turn for conversation 019b3b03-1064-7850-ac31-1fceb033c404
2025-12-20 02:15:29.048 [error] Turn 1 does not match latest turn for conversation 019b3b03-1064-7850-ac31-1fceb033c404
2025-12-20 02:17:14.978 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
2025-12-20 02:17:14.978 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
2025-12-20 02:19:56.606 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
2025-12-20 02:19:56.606 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
2025-12-20 02:25:35.349 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
2025-12-20 02:25:35.349 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
2025-12-20 02:25:35.349 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
2025-12-20 02:25:35.349 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
2025-12-20 02:27:29.356 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
2025-12-20 02:27:29.358 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
2025-12-20 02:27:29.358 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
2025-12-20 02:27:29.358 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
2025-12-20 02:27:29.358 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
2025-12-20 02:27:29.358 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension
2025-12-20 02:28:01.179 [error] Error fetching vscode://codex/open-in-targets: Error: open-in-target not supported in extension

Open webview developer tools

Failed to load resource: the server responded with a status of 404 ()
log.ts:460   ERR Failed to fetch MCP registry providers Server returned 404
error @ log.ts:460
log.ts:440  INFO [perf] Render performance baseline is 15ms
log.ts:460   ERR navigator is now a global in nodejs, please see https://aka.ms/vscode-extensions/navigator for additional info on this error.: PendingMigrationError: navigator is now a global in nodejs, please see https://aka.ms/vscode-extensions/navigator for additional info on this error.
    at get (file:///home/boarcoder/.vscode-server/bin/994fd12f8d3a5aa16f17d42c041e5809167e845a/out/vs/workbench/api/node/extensionHostProcess.js:404:6678)
    at /home/boarcoder/.vscode-server/extensions/openai.chatgpt-0.4.55-linux-x64/out/extension.js:1:12018
    at get value (/home/boarcoder/.vscode-server/extensions/openai.chatgpt-0.4.55-linux-x64/out/extension.js:1:5147)
    at /home/boarcoder/.vscode-server/extensions/openai.chatgpt-0.4.55-linux-x64/out/extension.js:21:145
    at Function.o (/home/boarcoder/.vscode-server/extensions/openai.chatgpt-0.4.55-linux-x64/out/extension.js:1:2584)
    at /home/boarcoder/.vscode-server/extensions/openai.chatgpt-0.4.55-linux-x64/out/extension.js:23:19397
    at o (/home/boarcoder/.vscode-server/extensions/openai.chatgpt-0.4.55-linux-x64/out/extension.js:1:2584)
    at new ZodObject (/home/boarcoder/.vscode-server/extensions/openai.chatgpt-0.4.55-linux-x64/out/extension.js:1:2826)
    at Object.O (/home/boarcoder/.vscode-server/extensions/openai.chatgpt-0.4.55-linux-x64/out/extension.js:23:9478)
    at /home/boarcoder/.vscode-server/extensions/openai.chatgpt-0.4.55-linux-x64/out/extension.js:23:27952
    at /home/boarcoder/.vscode-server/extensions/openai.chatgpt-0.4.55-linux-x64/out/extension.js:1:225
    at /home/boarcoder/.vscode-server/extensions/openai.chatgpt-0.4.55-linux-x64/out/extension.js:23:30350
    at /home/boarcoder/.vscode-server/extensions/openai.chatgpt-0.4.55-linux-x64/out/extension.js:1:225
    at Object.<anonymous> (/home/boarcoder/.vscode-server/extensions/openai.chatgpt-0.4.55-linux-x64/out/extension.js:41:38622)
    at Module._compile (node:internal/modules/cjs/loader:1706:14)
    at Object..js (node:internal/modules/cjs/loader:1839:10)
    at Module.load (node:internal/modules/cjs/loader:1441:32)
    at Function.<anonymous> (node:internal/modules/cjs/loader:1263:12)
    at e._load (file:///home/boarcoder/.vscode-server/bin/994fd12f8d3a5aa16f17d42c041e5809167e845a/out/vs/workbench/api/node/extensionHostProcess.js:404:6048)
    at t._load (file:///home/boarcoder/.vscode-server/bin/994fd12f8d3a5aa16f17d42c041e5809167e845a/out/vs/workbench/api/node/extensionHostProcess.js:222:22598)
    at s._load (file:///home/boarcoder/.vscode-server/bin/994fd12f8d3a5aa16f17d42c041e5809167e845a/out/vs/workbench/api/node/extensionHostProcess.js:214:24094)
    at TracingChannel.traceSync (node:diagnostics_channel:328:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
    at Module.require (node:internal/modules/cjs/loader:1463:12)
    at require (node:internal/modules/helpers:147:16)
    at HX.Cb (file:///home/boarcoder/.vscode-server/bin/994fd12f8d3a5aa16f17d42c041e5809167e845a/out/vs/workbench/api/node/extensionHostProcess.js:253:1253)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
error @ log.ts:460
log.ts:460   ERR navigator is now a global in nodejs, please see https://aka.ms/vscode-extensions/navigator for additional info on this error.: PendingMigrationError: navigator is now a global in nodejs, please see https://aka.ms/vscode-extensions/navigator for additional info on this error.
    at get (file:///home/boarcoder/.vscode-server/bin/994fd12f8d3a5aa16f17d42c041e5809167e845a/out/vs/workbench/api/node/extensionHostProcess.js:404:6678)
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:244:48546
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:1:263
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:244:50939
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:1:263
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:244:52010
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:1:263
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:244:54196
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:1:263
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:253:2598
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:1:263
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:254:2671
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:1:263
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:254:9346
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:1:263
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:256:21444
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:1:263
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:256:25511
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:1:263
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:256:27010
    at /home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:1:263
    at Object.<anonymous> (/home/boarcoder/.vscode-server/extensions/github.copilot-chat-0.35.2/dist/extension.js:2106:11545)
    at Module._compile (node:internal/modules/cjs/loader:1706:14)
    at Object..js (node:internal/modules/cjs/loader:1839:10)
    at Module.load (node:internal/modules/cjs/loader:1441:32)
    at Function.<anonymous> (node:internal/modules/cjs/loader:1263:12)
    at e._load (file:///home/boarcoder/.vscode-server/bin/994fd12f8d3a5aa16f17d42c041e5809167e845a/out/vs/workbench/api/node/extensionHostProcess.js:404:6048)
    at t._load (file:///home/boarcoder/.vscode-server/bin/994fd12f8d3a5aa16f17d42c041e5809167e845a/out/vs/workbench/api/node/extensionHostProcess.js:222:22598)
    at s._load (file:///home/boarcoder/.vscode-server/bin/994fd12f8d3a5aa16f17d42c041e5809167e845a/out/vs/workbench/api/node/extensionHostProcess.js:214:24094)
    at TracingChannel.traceSync (node:diagnostics_channel:328:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
    at Module.<anonymous> (node:internal/modules/cjs/loader:1463:12)
    at require (node:internal/modules/helpers:147:16)
    at HX.Cb (file:///home/boarcoder/.vscode-server/bin/994fd12f8d3a5aa16f17d42c041e5809167e845a/out/vs/workbench/api/node/extensionHostProcess.js:253:1253)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
error @ log.ts:460
log.ts:460   ERR [Extension Host] (node:477167) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
error @ log.ts:460
console.ts:139 [Extension Host] (node:477167) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Lks @ console.ts:139
log.ts:460   ERR [Extension Host] (node:477167) ExperimentalWarning: SQLite is an experimental feature and might change at any time
error @ log.ts:460
console.ts:139 [Extension Host] (node:477167) ExperimentalWarning: SQLite is an experimental feature and might change at any time
Lks @ console.ts:139
log.ts:460   ERR chatParticipant must be declared in package.json: claude-code
error @ log.ts:460
log.ts:460   ERR [UriError]: Scheme contains illegal characters.: Error: [UriError]: Scheme contains illegal characters.
    at r8 (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:30:64420)
    at new ld (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:30:67800)
    at new Hr (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:30:69238)
    at ld.revive (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:30:69015)
    at y2.call (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:91:107011)
    at _f.s (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:31:14882)
    at _f.q (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:31:14405)
    at na.value (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:31:13807)
    at P.C (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:30:2328)
    at P.D (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:30:2398)
    at P.fire (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:30:2615)
    at na.value (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:28:5389)
    at P.C (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:30:2328)
    at P.fire (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:30:2546)
    at na.value (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:28:5577)
    at P.C (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:30:2328)
    at P.fire (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:30:2546)
    at N (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:28:7871)
    at IpcMainImpl.i (file:///C:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:36:10815)
    at IpcMainImpl.emit (node:events:519:28)
    at Session.<anonymous> (node:electron/js2c/browser_init:2:106616)
    at Session.emit (node:events:519:28)
error @ log.ts:460
log.ts:440  INFO Extension host (Remote) is unresponsive.
log.ts:440  INFO Extension host (Remote) is responsive.
log.ts:440  INFO Extension host (Remote) is unresponsive.
log.ts:440  INFO Extension host (Remote) is responsive.
log.ts:440  INFO Extension host (Remote) is unresponsive.
log.ts:440  INFO Extension host (Remote) is responsive.
log.ts:440  INFO Extension host (Remote) is unresponsive.
log.ts:440  INFO Extension host (Remote) is responsive.
log.ts:440  INFO Extension host (Remote) is unresponsive.
log.ts:440  INFO Extension host (Remote) is responsive.
log.ts:440  INFO Extension host (Remote) is unresponsive.
log.ts:440  INFO Extension host (Remote) is responsive.
log.ts:440  INFO Extension host (Remote) is unresponsive.
log.ts:440  INFO Extension host (Remote) is responsive.
log.ts:460   ERR TreeError [DebugRepl] Tree input not set: Error: TreeError [DebugRepl] Tree input not set
    at ep.C (vscode-file://vscode-app/c:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:436:29377)
    at ep.updateChildren (vscode-file://vscode-app/c:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:436:29158)
    at Sce.value (vscode-file://vscode-app/c:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2648:33701)
    at E.C (vscode-file://vscode-app/c:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2349)
    at E.D (vscode-file://vscode-app/c:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2419)
    at E.fire (vscode-file://vscode-app/c:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2637)
    at bTe.setVisible (vscode-file://vscode-app/c:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:580:2730)
    at vscode-file://vscode-app/c:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:602:13950
    at Array.map (<anonymous>)
    at jd.setVisible (vscode-file://vscode-app/c:/Users/greninja-threadrip/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:602:13941)
error @ log.ts:460
webviewCommands.ts:33 Using standard dev tools to debug iframe based webview
Nikolaj-K · 7 months ago

I just ran into this as well (Plus version on Cursor 2.2.20 from 10 days ago, on a 2025 Macbook Air).

But I want to mention that it was easy to resolve in my case, namely by a window reload.
That is, Cmd + P (resp. Ctrl + P) and then
<img width="223" height="97" alt="Image" src="https://github.com/user-attachments/assets/b289de3b-fa91-435b-b2f9-99641d1657df" />

A minor discomfort of those reloads in the IDE is that it forgets some open terminals and which Codex chat window you were just in.
(I'll also mention that Codex then claimed not to have write access inside a file where it actually had access to, so that I had to convince it of its power by manually marking a character in a file there and telling it to edit it. The file wasn't where I started the session, but suffice to say it falsely claimed it couldn't edit by making this assumption. I don't know for sure if this latter confusion was directly related to the reload.)

shijie-oai contributor · 7 months ago

Hi all! Thanks for filing - after reloading the extension, you should be able to see/identify the conversation that caused the issue from recent task dropdown in the extension. If you are able to, please use /feedback in the extension to submit a feedback and paste your session ID here.

I think we identified a leading theory/cause to the problem and it is most likely related to our tool call output (i.e. ls -R) and the size of the project (i.e. a monorepo). Your session ID can help us a lot on pinning the cause down and it would be greatly appreciated!

metaxasa · 6 months ago

@shijie-oai @etraut-openai - I've just filed a /feedback report. The corresponding thread id is 019b3669-996d-7651-9e64-fbd15255ff4f. Note that I'm working on a large monorepo. Thanks!

rkmax · 6 months ago

workaround, move from secondary/primary bar to the primary/secondary bar 🫠

cheezmil · 6 months ago

I found a stable reproduction method. After some positioning and viewing commands, the output will be extremely long, causing the VS Code Codex interface to become very slow and eventually gray out. I checked the

"Open the Output panel in VS Code and choose Codex from the menu. If there's anything useful at the end of the output log, post the output here (redacting any personal information as necessary). If that log doesn't contain any relevant clues, use the command palette in VS Code (cmd+shift+P) and choose Open Webview Developer Tools. This will show the Chrome developer tools panel. Choose the Console tab, and look for any relevant output — in particular, a log line indicating a crash. Post the output here (once again, redacting any personal information)."

But there is no effective error message.

Artemonim · 6 months ago

I have the same behavior in Cursor

Version: 2.3.10 (system setup)
VSCode Version: 1.105.1
Commit: af6d64e4848e6185e482a2de5bac040191c8d790
Date: 2025-12-29T03:56:22.219Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.22631

But I only started experiencing this today, for the first time in a week of using it. Yesterday, Codex worked on the task for 3.5 hours without any problems and didn't trigger the bug.

Artemonim · 6 months ago

I think this bug is critical, because the agent continues to work normally – just in stealth mode. This means you don't know what it's doing, and you can only stop it by closing the IDE or restarting the extensions.

I saw this from the log of the system that he was supposed to use when working on the task.

etraut-openai contributor · 6 months ago

Thanks for your patience. We think we understand the cause of the problem and have a fix that we're testing. We hope to get it into the next release, after the holidays.

TRojen610 · 6 months ago

I'm currently experiencing the same issue on Windows. Two tasks are running, but my screen remains gray. CPU/RAM usage isn't high, but from what I can tell by looking at my logs, I understand there is an extension issue. Queries and processes continue while the screen is gray. That's why I don't close it; it returns to normal once all processes are complete. I don't know why, but the other “cline and roo code” sides don't do this. The strange thing is that the Codex extension has such a bug. I hope it gets resolved.

Tomodovodoo · 6 months ago

I just got the error again! I checked the output around the time the codex extension grayed out:

2026-01-03 01:56:19.225 [error] Turn 20 does not match latest turn for conversation 019b7c61-aaf1-7ad3-bdf3-de4f8c10cf38

Reloading the terminal by switching from primary to secondary also stops all the current workings.

After a reload, the following message is displayed;
"2026-01-03 02:07:59.929 [error] Turn 1 does not match latest turn for conversation 019b7c61-aaf1-7ad3-bdf3-de4f8c10cf38"

Additionally, the command it was trying to execute does not appear inside this conversation. (unsure!)

let me know if any more information is needed!

(codex-cli 0.75.0, Extension Version 0.5.56)

Got the grayed out screen error 2 more times;

Here's the logs

For the latest, I got errors in this manner;
2026-01-03 02:47:56.758 [error] Turn 1 does not match latest turn for conversation 019b817a-223f-7d02-a2f0-424b761938ca

~300 times this error message until:

2026-01-03 02:48:06.853 [error] Turn 1 does not match latest turn for conversation 019b817a-223f-7d02-a2f0-424b761938ca

2026-01-03 02:48:06.924 [error] Item rs_0df8189c7fa30c03016958754884a4819189cb45fa6f313e58 not found in turn state

100 times the same error...

2026-01-03 02:48:17.721 [error] Item rs_0df8189c7fa30c03016958754884a4819189cb45fa6f313e58 not found in turn state
Then the next time I see an error message in the output:
2026-01-03 02:48:41.887 [error] Turn 20 does not match latest turn for conversation 019b7c61-aaf1-7ad3-bdf3-de4f8c10cf38

Which sometimes alternates between Turn 1 and Turn 20 for some reason:

2026-01-03 02:52:41.823 [error] Turn 1 does not match latest turn for conversation 019b817a-223f-7d02-a2f0-424b761938ca
2026-01-03 02:52:43.651 [error] Turn 20 does not match latest turn for conversation 019b7c61-aaf1-7ad3-bdf3-de4f8c10cf38
2026-01-03 02:52:43.800 [error] Turn 1 does not match latest turn for conversation 019b7c61-aaf1-7ad3-bdf3-de4f8c10cf38
2026-01-03 02:52:45.803 [error] Turn 1 does not match latest turn for conversation 019b7c61-aaf1-7ad3-bdf3-de4f8c10cf38
2026-01-03 02:52:46.093 [error] Turn 20 does not match latest turn for conversation 019b7c61-aaf1-7ad3-bdf3-de4f8c10cf38

noticably, I AM working in the same conversation now after a reload, but I still get spammed with error messages. Additionally in the request causing the errors it seems that all code has been removed (I see no ran code in the workings anymore at least).

shijie-oai contributor · 6 months ago

Hi all! We have just released a pre-release version 0.5.57 that contains a fix for this issue. There might be a delay for VSC and Cursor extension management to pick up the latest release but once you see it please give it a try! After installing you will also need to restart the extension (there should be a restart button on the Codex extension page) for it to be actually refreshed. Again please let us know if you are still seeing issue.

shijie-oai contributor · 6 months ago

Thanks for your patience! A quick update here - for folks who prefer to use production release instead of pre-release, we have released 0.4.58 production version just now and it should be available on Cursor and VSC extension marketplace soon.

luongvd3 · 6 months ago

I'm still having the issue consistently with both the pre-release version 0.5.58 and the production version 0.4.58.

khoek · 6 months ago

Also just had this problem, for the first time in a long time (despite power-use over that period---at some point in the past it was very frequent and then it appeared to stop), I am running 0.5.58.

shijie-oai contributor · 6 months ago

@luongvd3 and @khoek can you use /feedback to submit the sessions that you think are causing the issue and please post the session id here? Also can provide a short description of the workflow you were doing, repo size etc? Want to see if there is anything else that can cause the issue here. Thanks!

Also just to note that if you have multiple sessions going (i.e. multiple VSCE or cursor windows), you have to restart extension on all those windows and you have to restart the extension via the extension market restart button otherwise it does not actually pick up the latest version.

luongvd3 · 6 months ago

@shijie-oai I have submitted the session using /feedback and the session id is "019b9d64-603c-70b1-81a9-1b468b9f6499". This session is working on optimizing unit test coverage. The repo size is 8.59 MiB.

Most of the time the session will only crash if I expand the thinking, it should be fine if I don't. The session doesn't doesn't have to be too long before the bug happens, I can reproduce it mostly after 5-10 minutes. The more thinking that I expand the faster the bug will occur.

And yes I have only one session running at the time and I've tried multiple Codex extension versions and restart each of them before using.

shijie-oai contributor · 6 months ago

@luongvd3 Thanks for sending the feedback. Ya I see that the session that caused the crash is huge and it is a good starting point for us to debug. In the meantime I wonder if you see the same issue if you have newer and smaller a new session.

luongvd3 · 6 months ago

@shijie-oai The session is huge but the first crash happened around 30 minutes in. I restarted the session and then continue a few times already. I do have problem with new smaller session too. It feels like if I don't expand and read the thinking often, the session can last much longer.

shijie-oai contributor · 6 months ago

We also have a fix out on the extension side that would limit our IPC message size on send that will be released today. In the meantime @luongvd3 if you do see the issue again, can you open the vscode developer tool and see if there is any obvious error messages in the console.

<img width="413" height="521" alt="Image" src="https://github.com/user-attachments/assets/4198e7d2-4a48-405c-962a-895a3b94d0ad" />

evelant · 6 months ago

I've been running into this the last few days. I was already on the pre-release version, so I think it is not fixed there.

f4nilo · 6 months ago

It’s possible that there are actually multiple issues causing this. From what I’ve seen so far, I’ve only encountered it when multiple windows were open. My guess is that one window runs into an error (“Turn [x] does not match latest turn”), broadcasts an update, and another window fails to apply it, resulting in a grey screen. You can check following logs

[window7]
215 2026-01-11 19:40:27.980 [error] Turn 4 does not match latest turn for conversation 019bafa4-6980-7673-a47a-3f8b9afcedf5
216 2026-01-11 19:40:27.983 [error] Turn 4 does not match latest turn for conversation 019bafa4-6980-7673-a47a-3f8b9afcedf5
...
714 2026-01-11 19:40:50.128 [error] Turn 4 does not match latest turn for conversation 019bafa4-6980-7673-a47a-3f8b9afcedf5
...
1707 2026-01-11 19:44:19.017 [error] Turn 7 does not match latest turn for conversation 019bafa4-6980-7673-a47a-3f8b9afcedf5
...
7376 2026-01-11 19:47:24.429 [error] Turn 7 does not match latest turn for conversation 019bafa4-6980-7673-a47a-3f8b9afcedf5

[window5]
473 2026-01-11 19:40:50.136 [warning] Failed to apply patches for 019bafa4-6980-7673-a47a-3f8b9afcedf5: Error: [Immer] minified error nr: 18. Full error at: https://bit.ly/3cXEKWf
474 2026-01-11 19:40:50.150 [warning] Failed to apply patches for 019bafa4-6980-7673-a47a-3f8b9afcedf5: Error: [Immer] minified error nr: 18. Full error at: https://bit.ly/3cXEKWf
...
496 2026-01-11 19:52:03.616 [warning] Failed to apply patches for 019bafa4-6980-7673-a47a-3f8b9afcedf5: Error: [Immer] minified error nr: 18. Full error at: https://bit.ly/3cXEKWf
...
532 2026-01-11 20:15:07.357 [warning] Failed to apply patches for 019bafa4-6980-7673-a47a-3f8b9afcedf5: Error: [Immer] minified error nr: 18. Full error at: https://bit.ly/3cXEKWf
vinogradgarden · 6 months ago

Also still facing with this issue on pre-release.

davidliudev · 6 months ago

same here. the pre-release version 0.5.61 still have freeze issue when running for a longer time

LiquidArtDevelopers · 5 months ago

Hi, same here (version
0.5.68)

<img width="790" height="1042" alt="Image" src="https://github.com/user-attachments/assets/16f490f7-70cc-4248-912b-aa8d92453442" />

I need to restart VSC for it to appear, but I have lost the last working answer.

Thx

bskimball · 3 months ago

I still have this issue on codex version 26.324.21329 and vscode version 1.113.0

Strike-F8 · 3 months ago

I have been having the same issue for the past month. I can't upgrade past 0.4.76 because it turns to a blank screen if I do.

JackyDing · 3 months ago

This issue still appears on the codex version 26.325.31654 with vscode version 1.114.0

etraut-openai contributor · 3 months ago

@JackyDing, this bug was fixed a while ago and closed. If you're seeing a similar issue with the latest version of Codex, that's a new issue. Please file a new bug report and provide all of the details in the bug report template.

JackyDing · 3 months ago

@etraut-openai , I am unable to reliably reproduce the issue, currently. Sometimes, just leave it idle, it suddenly crashes and shows this gray screen. I will continue to observe and see if there is a way to reproduce it.

GigaZelensky · 3 months ago

It still happens and now it can even restart the entire check back to the main screen while it's working for no reason

hamabao413 · 3 months ago

"I'm running into the exact same issue. It's making it really hard to get any work done."

jenniferai202601 · 3 months ago

i have it also continously over Remote SSH to a ubuntu server running codex cli. can only return by reloading window and relogging in to ssh. It's a pain indeed.

Version: 1.115.0 (user setup)
Commit: 41dd792b5e652393e7787322889ed5fdc58bd75b
Date: 2026-04-07T22:04:57Z
Electron: 39.8.5
ElectronBuildId: 13703022
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200

jenniferai202601 · 3 months ago

Cause

Your log shows the Codex pane is greying out because the Codex VS Code extension is hitting a known bug in its webview/diff rendering path, not because SSH is broken. The key line is:

Error: open-in-target not supported in extension
url=vscode://codex/open-in-targets

That exact failure is being reported in current Codex extension issues, where the extension repeatedly calls open-in-targets even though that API is unsupported in extension mode. OpenAI issue reports tie this to blank/grey panels, UI freezes, log storms, and high CPU during rendering of diffs or clickable file/code links. ([GitHub][1])

What it means technically

The extension is trying to use an open-target selection route intended for a different host/runtime path. In VS Code extension mode, that route throws instead of returning a harmless no-op. Reports indicate this can happen while Codex is rendering edited-file diffs or clickable file references, which then cascades into repeated fetch/error loops and can leave the panel blank or grey. ([GitHub][1])

Why your setup is more fragile

You are using Windows + VS Code + Remote-SSH, and OpenAI’s own IDE docs still say Windows support for the Codex VS Code extension is experimental and recommend WSL for the best Windows experience. That does not prove Windows is the sole cause here, but it does increase the odds of extension/webview instability. ([OpenAI Developers][2])

Immediate recovery

Do these in this order:

  1. Developer: Reload Webviews
  2. If still grey: Developer: Reload Window
  3. If it happens again right after a Codex response with file edits/links: close that Codex tab/webview and reopen it
  4. Check the extension page and update Codex if an update is available; OpenAI says the extension auto-updates, but you can manually check from the extension page. ([GitHub][3])

Practical workarounds

Until this is fixed upstream:

  • Avoid prompts that produce large multi-file edit diffs in the sidebar when possible.
  • Avoid clicking rendered file/code links inside the Codex response pane.
  • If a response starts making the pane sluggish, reload the window immediately before it degrades into the grey panel.
  • For stability, the strongest path is to run Codex in WSL rather than Windows+Remote-SSH. ([GitHub][1])

Bottom line

Your own log is enough to identify it: this is a Codex extension bug around open-in-targets, likely triggered by diff/link rendering in the webview. Remote-SSH is connecting fine. ([GitHub][1])

If you want, I can give you the exact lowest-friction VS Code setting and workflow changes to reduce how often this happens on your machine.

[1]: https://github.com/openai/codex/issues/16850 "VS Code extension spikes CPU and logs \"open-in-target not supported in extension\" while rendering diffs after Codex edits files · Issue #16850 · openai/codex · GitHub"
[2]: https://developers.openai.com/codex/ide "IDE extension – Codex | OpenAI Developers"
[3]: https://github.com/openai/codex/issues/16320 "High CPU usage triggered by rendering file/code links in chat; confirmed open-in-target failure loop in extension · Issue #16320 · openai/codex · GitHub"

ulle73 · 3 months ago

still a problem!

jenniferai202601 · 3 months ago

if you move the pane , by right clicking and using "move to" it comes back without you need to reopen windows and logon again..

RiddleMeThis3 · 2 months ago
if you move the pane , by right clicking and using "move to" it comes back without you need to reopen windows and logon again..

This worked for me without losing the entire chat history context, which is another symptom of this. Upon closing and reopening it is just the title of the task and a blank sidebar, I have to start a new task.

Thank you for the short term workaround, Jennifer! Please prioritize this issue, thank you!

VitalOverdose · 2 months ago

Its been doing it for me for the last week. the workaround helps but we need a real fix

Thanks jenniferai

Gladskih · 1 month ago

Reproduced today on the latest VSCode and the plugin.

Version: 1.124.2 (user setup)
Commit: 6928394f91b684055b873eecb8bc281365131f1c
Date: 2026-06-12T00:12:36Z (3 days ago)
Electron: 42.2.0
ElectronBuildId: 14159160
Chromium: 148.0.7778.97
Node.js: 24.15.0
V8: 14.8.178.14-electron.0
OS: Windows_NT x64 10.0.26200

collectifweb · 1 day ago

Same greyed-out Codex panel here (VS Code on Linux). In my case it showed up when opening the panel, not after extended use, and only the Codex panel was affected. Other webview panels rendered fine.

Turned out it wasn't the extension. The extension host logs showed Codex activating and mounting its UI normally (app routes mounted after ...ms), so the problem was purely in rendering. Rolling the extension back to an older version didn't help either (both versions greyed out). It was VS Code's own webview/display cache that was corrupted.

What fixed it: fully quit VS Code, delete its cache folders, relaunch.

  • Linux : in ~/.config/Code/, delete: Cache, Code Cache, GPUCache, Service Worker, CachedData
  • macOS : same folders in ~/Library/Application Support/Code/
  • Windows : same folders in %APPDATA%\Code\

Your settings and installed extensions are untouched. Those folders get regenerated on the next launch (first start is just a bit slower). Worth trying if a plain window reload or reinstall didn't do it.

VasLem · 15 hours ago

Still a bug, using the advice from this comment reverts it back to normal. Please reopen the issue.