[VS Code][macOS] Git processes consume substantially more CPU during Codex tasks than before

Abierto
#63,508 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
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
22/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
git, macos, vscode

Línea de trabajo

This is a profiling investigation with no code pointers: the report names no Git commands, no measurements, and no files. Start by capturing which Git subprocesses the Codex VS Code extension spawns during a task (macOS, process sampling over a single task), then compare the frequency of invocations against expected polling behaviour. Read the related reports #34005, #35008 and #28036 to see whether a shared Git-watcher path is already suspected. Done means the hot invocation path is identified and its call frequency bounded, with before/after CPU numbers attached.

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

During Codex tasks, Git processes consume significantly more CPU resources than they used to. This is a noticeable performance regression in normal development work.

Steps to reproduce
  1. Open a project in VS Code on macOS and use the Codex extension.
  2. Start a typical development task.
  3. Observe the CPU consumption of Git processes while the task is running and compare it with the behavior before the regression.
Expected behavior

Git-related operations should be bounded and efficient, with no unnecessary polling, repeated scans, or redundant process invocations. Normal Codex tasks should not impose disproportionately high CPU overhead from Git.

Related reports

#34005 and #35008 describe excessive Git-related activity on other Codex surfaces/platforms. #28036 describes Git background activity in the VS Code extension under different conditions. I have not confirmed a shared cause, specific Git commands, repository characteristics, or exact CPU measurements for this report.

Please investigate the regression in Git-related resource usage on the macOS VS Code extension.

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.