Codex Desktop on Windows can stall for minutes during tiny apply_patch edits
andytran86 · ghdev · 2026-07-20
Windows Codex Desktop can hang for minutes during applypatch
A Windows user reports that Codex Desktop sometimes spends several minutes at applypatch, even for tiny edits that add or change one or two lines.
Controlled measurements
On a 78-byte UTF-8 text file in a writable local workspace, the reporter measured:
- Create file: 3.671 s
- Change one line: 6.930 s
- Change one line again: 6.188 s
- Delete file: 6.531 s
For one update, an independent file watcher saw the filesystem change about 6.16 s after applypatch started, while applypatch returned only about 40 ms after the file changed.
What they observed
- Warm reads of the same source file were around 2 ms.
- Cold reads were about 0.5 s.
- Trend Micro Real-Time Monitor was scanning both source files and Codex LocalCache files.
- The reporter suspects antivirus overhead contributes, but not enough to explain the intermittent 3–4 minute hangs.
Constraint
They cannot add Codex or project directories to antivirus exclusions.
More from Infra
- NVIDIA says Nemotron 3 Ultra hit 97.1% on agentic RTL chip-design tasks — NVIDIAAI · 2026-07-27
- Local Qwen models power a robot that tests 78 smartphones’ battery life — gappyvalley · 2026-07-27
- MiniBot 2.40 adds xAI, HF Studio and vLLM support with inline media tools — Creative-Type9411 · 2026-07-27
- Apple smart glasses, Nvidia-SK AI data center deal, and Ctrip’s RMB 5.179 billion fine headline a tech roundup — APPSO · 2026-07-27
- DeepSeek funding rumor, EU AI transparency rules and OpenAI agent incident make a packed AI news roundup — 创业邦 · 2026-07-27
- QuixiCore argues native quantized kernels beat dequant-then-generic execution — QuixiAI · 2026-07-27