[extension][macOS] activation emits unsupported vscode:// route errors, stale feature warnings, and missing system-skill lookups

Open 💬 4 comments Opened Mar 14, 2026 by sealad886
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

Summary

On macOS, the VS Code Codex extension emits a repeated error/warning flood during activation and normal use that does not appear when invoking the Codex CLI directly from Terminal.

I fixed the local setup issues I could safely correct without editing the extension itself, but the remaining symptoms still look extension-side:

  • unsupported internal route fetches:
  • vscode://codex/local-environments
  • vscode://codex/open-in-targets
  • repeated app-server/extension warnings about unknown feature keys:
  • rmcp_client
  • skills
  • tui2
  • view_image_tool
  • repeated request/IPC anomalies:
  • No promise for request ID ...
  • repeated client-status-changed / thread-stream-state-changed no-handler warnings (likely related to already-filed issues, but included for completeness)
  • the extension also tried to read missing files under ~/.codex/skills/.system/openai-docs/assets/... even though a curated openai-docs bundle existed under ~/.codex/vendor_imports/...

Environment

  • Extension: openai.chatgpt-26.5311.21342-darwin-arm64
  • IDE: VS Code on macOS arm64
  • Platform: macOS (Apple Silicon)
  • Codex CLI: codex-cli 0.114.0 installed via Homebrew cask

Important isolation detail

The unknown feature warnings do not reproduce when running Codex directly from Terminal:

  • codex features list loads successfully and prints the known feature set with no warnings
  • a brief direct codex app-server start/stop also produced no stderr output

That strongly suggests the warnings are being introduced by the extension / VS Code path rather than by ~/.codex/config.toml itself.

Correctable local issues I fixed first

I corrected the following local setup problems before filing this issue:

  1. Disabled a self-referential codex_self MCP server in my config that was causing separate resources/list 1200s timeouts.
  2. Replaced a literal MEMORY_FILE_PATH="$HOME/.memory" env value with an absolute path so the memory MCP server would not receive a non-expanded literal.
  3. Removed an unsupported type = "stdio" field from one custom MCP server entry.
  4. Restored the missing openai-docs bundle into ~/.codex/skills/.system/openai-docs using the built-in skill installer because the extension was trying to read:
  • ~/.codex/skills/.system/openai-docs/assets/openai.png
  • ~/.codex/skills/.system/openai-docs/assets/openai-small.svg

Those setup fixes were local-only and separate from the extension errors below.

Remaining extension log evidence

Representative log excerpts:

[error] [CodexMcpConnection] cli:} message="... WARN codex_core::features: unknown feature key in config: rmcp_client\n... unknown feature key in config: skills\n... unknown feature key in config: tui2\n... unknown feature key in config: view_image_tool"

[error] Error fetching errorMessage="local-environments is not supported in the extension" url=vscode://codex/local-environments

[error] Error fetching errorMessage="open-in-target not supported in extension" url=vscode://codex/open-in-targets

[error] No promise for request ID id=...

[warning] [IpcClient] Received broadcast but no handler is configured method=thread-stream-state-changed

Earlier in the same log stream I also saw:

Error fetching errorMessage="Unable to read file: /Users/<redacted>/.codex/skills/.system/openai-docs/assets/openai.png" url=vscode://codex/read-file-binary
Error fetching errorMessage="Unable to read file: /Users/<redacted>/.codex/skills/.system/openai-docs/assets/openai-small.svg" url=vscode://codex/read-file-binary

Why I think this is extension-side

  • Direct CLI startup does not emit the unknown feature warnings.
  • The feature names being warned about are not present in my current ~/.codex/config.toml.
  • The extension is attempting to fetch internal routes it then immediately says are unsupported in the extension.
  • The extension was also looking for openai-docs assets in .system/ even though the curated bundle existed elsewhere, which suggests a bootstrap/path expectation mismatch during skill discovery.

Expected behavior

  • Extension activation should not emit unsupported internal route fetch errors for routes it does not implement.
  • Extension/app-server startup should not inject unknown feature keys that the installed CLI does not recognize.
  • Skill discovery should not reference missing .system/openai-docs assets if the skill was only present under vendor_imports, or it should install/bootstrap the system bundle consistently.
  • Request tracking should not emit No promise for request ID ... during routine activation/use.

Related issues

I found existing reports that appear related to the thread-stream-state-changed / local-environments part of the symptom family:

  • #13343
  • #13583

This report is intended to capture the additional macOS activation issues that do not seem covered there, especially:

  • open-in-target not supported in extension
  • unknown feature key warnings for rmcp_client, skills, tui2, view_image_tool
  • missing openai-docs system-skill asset lookups

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 5 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #13583
  • #13343
  • #13717
  • #12984

Powered by Codex Action

id3283 · 5 months ago

Adding another macOS data point that looks like the same extension-side symptom family, but with a stronger extension-host hang signal.

Environment:

  • Extension: openai.chatgpt-26.318.11754-darwin-arm64
  • IDE: VS Code 1.112.0
  • Platform: Darwin arm64 Darwin (macOS 26.3.1)

What I observed:

  • During a VS Code session on macOS, the Codex extension emitted a burst of open-in-target not supported in extension errors in Codex.log.
  • The burst was very dense: 1343 occurrences in a few seconds, from 2026-03-20 23:22:18.985 through 2026-03-20 23:22:23.760.
  • Three seconds later, the VS Code renderer logged:
  • Extension host (LocalProcess pid: 53594) is unresponsive.
  • timestamp: 2026-03-20 23:22:26.766
  • There was no macOS crash report for Code/Electron/Renderer, and when VS Code was later restarted the old extension host exited cleanly with code 0.

Representative error from ~/Library/Application Support/Code/logs/.../window1/exthost/openai.chatgpt/Codex.log:

[error] Error fetching errorMessage="open-in-target not supported in extension" url=vscode://codex/open-in-targets

Important caveat:

  • This was not a perfectly isolated Codex-only session. The same window also had notebook/Jupyter/Data Wrangler churn in the background, so I can't prove Codex was the only contributor.
  • However, the immediate temporal correlation is strong: the unsupported vscode://codex/open-in-targets error storm happened immediately before the extension host was marked unresponsive.

Related local signals from the same session:

  • repeated Jupyter notebook-controller disposal/startup errors
  • repeated ms-toolsai.datawrangler _isDisposed exceptions

I’m commenting here instead of filing a separate issue because this looks closest to the existing open-in-target / unsupported internal route problem on macOS. If maintainers want, I can split the extension-host hang symptom into a separate issue with a smaller repro.

cymondev · 5 months ago

I’m seeing what looks like the same issue on Linux with the VS Code Codex/OpenAI extension, version 26.318.11754.

In my case the repeated error is:

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

Impact:

  • The extension emits a dense repeated error loop causing a CPU surge
  • I see tens of thousands of repeated instances in logs

Representative log lines:
2026-03-21 09:28:25.708 [error] Error fetching errorMessage="open-in-target not supported in extension" ... url=vscode://codex/open-in-targets
2026-03-21 09:28:25.710 [error] Error fetching errorMessage="open-in-target not supported in extension" ... url=vscode://codex/open-in-targets

id3283 · 5 months ago

Second repro on macOS with the same extension version and the same failure mode.

Environment:

  • VS Code 1.112.0
  • Codex/OpenAI extension 26.318.11754

New hang details from 2026-03-21:

  • First open-in-target not supported in extension at 2026-03-21 10:33:35.580
  • Last one at 2026-03-21 10:33:42.486
  • VS Code then logged Extension host (LocalProcess pid: 43695) is unresponsive at 2026-03-21 10:33:45.492
  • Across the rotated Codex logs this was 9,356 identical open-in-target not supported in extension errors in about 6.9 seconds

This repro is actually cleaner than my first one:

  • I did not see the Jupyter / Data Wrangler _isDisposed / notebook disposal failures in this session

So for this second hang, the Codex extension error storm looks like the direct trigger again, and with less competing noise than the first report.