[Windows Desktop 26.1117] Idle Unity repo repeatedly cancels review-summary Git diffs; Git/LFS process buildup, process-scoped workaround verified
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- git
- Ambito
- devtools, operating-systems
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 136k
- Fork
- 21.6k
- Merge medio
- 1m
- PR unite (30g)
- 998
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di openai/codex
-
bug CLI performance
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
app bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Windows data plugin feedbackApertaapp bug skills windows-os
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
app-server bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
openai/codex#63732 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug CLI TUI
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
openai/codex#63725 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di openai/codex
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
qingjian-team/qingjian#1181 ·
I maintainer di solito rispondono entro 2 giorni
-
bug P2: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
leepokai/Codync#618 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
oxidecomputer/opte#1125 ·
I maintainer di solito rispondono entro 2 giorni
-
[Bug] StreamLifecycleConfig clamps post-TTFT stream timeouts to remaining admission budgetForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
lbjlaq/Antigravity-Manager#4063 ·
I maintainer di solito rispondono entro 1 giorno