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

Aperta
#63,508 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
git, macos, vscode

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
136k
Fork
21.5k
Merge medio
1m
PR unite (30g)
998

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openai/codex

Tutte le issue di openai/codex

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.