mirror of
https://github.com/openai/codex.git
synced 2026-11-18 22:20:48 +00:00
## Why When a registered Core provisioning request timed out or its pipe closed before a reply, setup reported only that the service was unavailable. That made the two failures indistinguishable in setup metrics. ## What changed Preserve the underlying I/O error and attach distinct setup error codes for timeouts and pipe closures. Registered Core still reports the service as unavailable and refuses helper fallback. `codex doctor` advises checking that the sandbox service is running and letting pending setup finish before retrying. ## Testing Add a unit test that checks error classification for timeouts, unexpected EOF, and broken pipes. It also checks that a non-registered request still returns an unavailable response on timeout and that permission errors receive neither new code. GitOrigin-RevId: fa6653fe5f9cafd10fc1562eb0763857a1bd628f