Files
codex/codex-rs/arg0
Eric Traut eee977b504 Stop dotenv loading on persistent I/O errors (#57233)
## 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
2026-10-26 20:26:32 +00:00
..