[VS Code][macOS] Git processes consume substantially more CPU during Codex tasks than before
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 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 内容生成。
描述
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
- Open a project in VS Code on macOS and use the Codex extension.
- Start a typical development task.
- 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.6k
- 平均合并
- 1 分钟
- 30 天内合并 PR
- 998
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
openai/codex 的其他 Issue
-
bug CLI performance
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
app bug
难度 1/5 1 小时以内 新手友好度 76/100
维护者通常 1 天内回复
-
app bug skills windows-os
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
app-server bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug CLI TUI
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
qingjian-team/qingjian#1181 ·
维护者通常 2 天内回复
-
bug P2: medium
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
oxidecomputer/opte#1125 ·
维护者通常 2 天内回复
-
[Bug] StreamLifecycleConfig clamps post-TTFT stream timeouts to remaining admission budget可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
lbjlaq/Antigravity-Manager#4063 ·
维护者通常 1 天内回复