[VS Code][macOS] Codex startup is extremely slow and loading fails when window or panel loses focus

Abierto
#63,507 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
macos, vscode
Área
performance

Línea de trabajo

The repro steps are usable but no logs, timings or code paths are given, and the repository language (Rust) does not cover the VS Code extension, so the first step is to find the extension package and its activation entry point and read how work is scheduled during startup. Reproduce the steps while recording activation timing and compare a focused run with a backgrounded one to see whether initialization is gated on focus or webview visibility. Done means activation completes on its own without the window in the foreground and a baseline timing is written into the thread.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug extension performance
Environment
  • Codex IDE extension (openai.chatgpt) in VS Code on macOS
  • Observed November 24, 2026; exact extension and OS build not recorded
Actual behavior

The Codex extension takes an unusually long time to load. If I move focus away from the screen while the extension is starting, it does not load properly. I should not need to keep the extension or IDE in the foreground just to finish initialization.

Steps to reproduce
  1. Open VS Code and start/open the Codex extension.
  2. While it is still loading, switch focus away from it.
  3. Return to Codex and observe the loading state.
Expected behavior

The extension should initialize promptly and reliably even when its UI or the IDE is not focused. Background initialization should complete normally, or surface a clear error and recovery option.

Additional information

The exact loading duration, logs, and underlying cause have not been captured. The focus-dependent initialization behavior is the important symptom, in addition to the slow startup.

This regression disrupts daily development. Please prioritize initialization performance and reliability.

Lenguaje dominante
Rust
Estrellas
136k
Forks
21.5k
Merge medio
1 min
PR fusionados (30 d)
998

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de openai/codex

Todos los issues de openai/codex

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.