mirror of
https://github.com/openai/codex.git
synced 2026-10-27 18:48:37 +00:00
## Why Some I/O errors can repeat without advancing the dotenv iterator, causing environment loading to loop indefinitely. ## What changed - Only open the Codex home `.env` path when it is a file. - Stop processing entries on I/O errors other than `InvalidData`, while continuing past invalid UTF-8 lines and parse errors. GitOrigin-RevId: 4b79b5e87b6924b342265e0688ebe59fefea4637