mirror of
https://github.com/openai/codex.git
synced 2026-09-09 15:58:47 +00:00
## Why On macOS, rejecting a symlinked writable root during sandbox setup could be misreported as corrupt session data because both paths surfaced an `InvalidInput` I/O error. ## What changed - Treat only `InvalidData` errors as evidence of corrupt session storage. - Preserve `InvalidInput` failures so the original sandbox preparation error and its actionable details reach the user. ## Testing Add a macOS regression test that configures a symlinked writable root and verifies thread creation reports the sandbox failure without suggesting that session data is corrupt. GitOrigin-RevId: 2b83d9f92a517407b88c21b471fa8bff5fd20d1d