mirror of
https://github.com/openai/codex.git
synced 2026-11-20 22:40:37 +00:00
## Why On macOS, `lsof` can warn about inaccessible mounts even when its search is scoped to the releases directory. Treating every warning as an inspection failure can prevent the installer from pruning unused releases. ## What changed Keep `lsof` matches when stderr contains only complete mount warnings for paths outside the releases tree and its ancestors, on devices different from the releases directory. Continue to reject warnings that could affect release inspection, incomplete warnings, and unexpected errors. ## Testing Extend the mocked macOS `lsof` test to verify that an unrelated mount warning preserves matches and that same-device, ancestor-mount, truncated, and mixed diagnostics fail inspection. GitOrigin-RevId: 006e2a38335c33ce7c974f74d3bb871d818fdd1f