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

オープン
#63,508 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
22/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
git, macos, vscode

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Rust
スター
136k
フォーク
21.5k
平均マージ
1分
マージ済み PR(30日)
998

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openai/codex のほかの issue

openai/codex の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。