mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-03 13:06:06 +01:00
b3e2c11c91
Re-enables the 'Test Codex session' smoke test (skipped in #323867). The native Codex binary ships as a per-platform *optional* dependency of the `@openai/codex` launcher shim; npm silently ignores an optional dep that fails to install, so a node_modules cache built during such a hiccup keeps the shim (which makes Codex report as "available") but loses the binary — the session then fails at spawn time and the test only times out after 5 minutes. Add a from-source pre-check that fails fast with an actionable message when the shim is present but the native binary is missing. No cache change is needed here (main's lockfile has since rolled to a healthy cache); if it recurs, bumping build/.cachesalt forces a fresh npm ci that reinstalls the binary. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
VS Code Tests
Contents
This folder contains the various test runners for VS Code. Please refer to the documentation within for how to run them: