[Windows Desktop 26.1117] Idle Unity repo repeatedly cancels review-summary Git diffs; Git/LFS process buildup, process-scoped workaround verified
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 12/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- git
調査の方向性
The payload names no source files or tests. The reproduction centres on a recurring git diff against the merge-base with origin/main, which spawns Git for Windows shell and git-lfs filter-process children, and the issue asks for coalescing and full process-tree cleanup on cancellation. Start from the desktop worker's review-summary Git invocation and its cancellation path, which the report does not locate. Done would mean that repeated cancellations leave no orphan Git or LFS processes and that in-flight Git operations are capped per repository. Expect this to need maintainer guidance.
索引モデルが issue の本文から書いたものです。
説明
Summary
On Windows 11 x64, Codex Desktop 26.1117.4957.0 can launch repeated, overlapping background Git branch-review diffs in an idle large Unity repository using Git LFS. The process count grows dramatically, making Windows sluggish. The problem was isolated to opening/selecting the affected project in Desktop; a different project remained idle with zero Git children.
New evidence on 2026-11-23: A read-only review of desktop worker logs found 678 canceled Git operations across four desktop runs, all with requestKind=review-summary, source=review_model, subcommand=diff. One run had 493 cancellations in about 17 minutes. The repeated target SHA was verified to equal git merge-base HEAD origin/main; it was not found in saved workspace settings or configuration. The default remote branch was substantially behind the active development branch. A standalone, equivalent detailed Git diff completed successfully in ~5.3 seconds, suggesting overlapping refreshes/cancellation rather than a single stuck Git operation.
Environment
- Windows 11 x64
- Codex Desktop MS Store package:
OpenAI.Codex 26.1117.4957.0(no update available in Store on incident date) - Git for Windows
2.54.0.windows.1; Git LFS3.7.1 - Large Unity repository with FBX, animations, textures and other LFS-tracked assets
- Current branch diverges from an older
origin/main; branch comparison spans thousands of paths - Codex CLI
0.171.0worked independently, using API authentication, without demonstrated desktop process accumulation
Reproduction / controlled observations
- Fully quit Codex Desktop and terminate remaining orphan Git/Git LFS workers once no legitimate Git jobs are active.
- Leave Codex Desktop closed for five minutes: zero Git/LFS processes throughout.
- Start Desktop and select the large Unity project: Git processes appear immediately and accumulate; prior captures reached roughly 87
git.exe, 85git-lfs.exe, and 85sh.exesimultaneously. - Quit/reopen and switch promptly to an unrelated project: zero Git-related processes during a 60-second observation.
- The recurring Git command shape:
It invokes Git for Windows shell andgit -c diff.autoRefreshIndex=false -c diff.mnemonicPrefix=false -c diff.noprefix=false -c core.quotePath=false -c safe.bareRepository=explicit -c core.hooksPath=NUL -c core.fsmonitor= diff --no-ext-diff --no-textconv --color=never --src-prefix=a/ --dst-prefix=b/ <merge-base-with-origin/main> --find-renames --raw --no-abbrev --numstat -zgit-lfs filter-processchildren. - Clearing selected/saved workspace-root fields in backed-up Codex state did not solve the issue.
Workaround verified
The application's Git settings UI on this build does not show a 'Git-based review' toggle, despite related strings being present in shipped webview assets.
After fully exiting Desktop, a process-scoped launcher started the Store app executable with GIT_DIR=NUL supplied only to the launched process and descendants (no persistent environment or repo configuration changes). The affected Unity project and existing conversations were visible. A 60-second monitor sampled every 2 seconds and observed git=0, git-lfs=0, sh/bash=0 at all 30 samples. This strongly supports background Git integration as the trigger, but is only a workaround: Git-backed features may be unavailable and the root defect remains.
Expected behavior / suggestions
- Coalesce/debounce equivalent
review-summaryand branch-review refreshes; cap in-flight Git operations per repository. - On cancellation, reliably terminate the full Git for Windows launcher/child process tree, including Git LFS filter processes.
- Avoid reissuing costly unchanged comparisons against an old default-branch merge base.
- Expose a supported, accessible way to disable background Git-based review without disabling unrelated Git features, with a way to inspect whether it is enabled.
- Keep idle workspaces responsive regardless of size and ensure quitting Desktop leaves no orphan Git workers.
Privacy and scope
This report deliberately omits personal usernames, local filesystem paths, project/repository names, commit hashes, chat IDs, credentials and raw logs. The controlled tests did not establish the precise scheduler/cleanup bug or prove that every canceled diff left children alive.
Related existing issues
- #59285 (idle Unity workspace triggers Git/LFS subprocesses; view-dependent)
- #58486 (review-summary cancellation loop)
- #58583 (canceled branch diffs and surviving child processes)
- #54497 (extreme Git process fan-out/resource exhaustion)
This report adds the Nov 23 current-build reproduction, identification of the actual merge-base baseline, 678 labeled cancellations, absent UI toggle, and successful 30-sample GIT_DIR=NUL isolation test.
- 主要言語
- Rust
- スター
- 136k
- フォーク
- 21.6k
- 平均マージ
- 1分
- マージ済み PR(30日)
- 998
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
openai/codex#63732 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug CLI TUI
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
openai/codex#63725 · コメント 1 件 ·
メンテナーはふだん 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
leepokai/Codync#618 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
oxidecomputer/opte#1125 ·
メンテナーはふだん 2 日以内に返信
-
[Bug] StreamLifecycleConfig clamps post-TTFT stream timeouts to remaining admission budget対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
lbjlaq/Antigravity-Manager#4063 ·
メンテナーはふだん 1 日以内に返信